Browse Source

AP_HAL_Linux: prefix threads with ap

This makes it consistent with bus threads and easier to grep from a `ps`
call.
mission-4.1.18
Lucas De Marchi 9 years ago
parent
commit
833f565f09
  1. 2
      libraries/AP_HAL_Linux/Scheduler.cpp

2
libraries/AP_HAL_Linux/Scheduler.cpp

@ -53,7 +53,7 @@ extern const AP_HAL::HAL& hal; @@ -53,7 +53,7 @@ extern const AP_HAL::HAL& hal;
#define SCHED_THREAD(name_, UPPER_NAME_) \
{ \
.name = "sched-" #name_, \
.name = "ap-" #name_, \
.thread = &_##name_##_thread, \
.policy = SCHED_FIFO, \
.prio = APM_LINUX_##UPPER_NAME_##_PRIORITY, \

Loading…
Cancel
Save