mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
UAVCAN: Give the firmware upgrade thread a human-readable name
This commit is contained in:
@@ -273,6 +273,8 @@ int UavcanServers::init()
|
||||
__attribute__((optimize("-O0")))
|
||||
pthread_addr_t UavcanServers::run(pthread_addr_t)
|
||||
{
|
||||
prctl(PR_SET_NAME, "uavcan fw srv", 0);
|
||||
|
||||
Lock lock(_subnode_mutex);
|
||||
|
||||
while (1) {
|
||||
|
||||
Reference in New Issue
Block a user