mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
NuttX tasks are task_create() children, not pthreads, so px4_task_join has no portable join and instead polls whether the task still exists. Document that it returns no exit status, can wait on the wrong task if the PID is reused, and is only safe because its sole on-target caller is WorkQueueManager shutdown (and NuttX shutdown is a full reboot). Signed-off-by: Julian Oes <julian@oes.ch>