UAVCAN: Give the firmware upgrade thread a human-readable name

This commit is contained in:
Lorenz Meier 2015-10-10 13:58:48 +02:00
parent 614ca1e588
commit d2fb49e5f3

View File

@ -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) {