Browse Source
Use pthread_setname_np() to set thread name so it's easier to debug what't going on with each of them. This is the example output of the relevant par of "ps -Leo class,rtprio,wchan,comm": FF 12 futex_ ArduCopter.elf FF 15 usleep sched-timer FF 14 hrtime sched-uart FF 13 poll_s sched-rcin FF 11 hrtime sched-tonealarm FF 10 hrtime sched-iomission-4.1.18
Lucas De Marchi
10 years ago
committed by
Andrew Tridgell
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue