AP_HAL_Linux: prefix threads with ap

This makes it consistent with bus threads and easier to grep from a `ps`
call.
This commit is contained in:
Lucas De Marchi 2016-08-10 18:09:47 -03:00
parent e1ab44f4a3
commit 833f565f09

View File

@ -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, \