mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 09:43:34 +08:00
uORB: join threads in unit tests
This commit is contained in:
@@ -167,6 +167,9 @@ __EXPORT px4_task_t px4_task_spawn_cmd(const char *name,
|
||||
/** Deletes a task - does not do resource cleanup **/
|
||||
__EXPORT int px4_task_delete(px4_task_t pid);
|
||||
|
||||
/** Wait for a task to exit. Returns 0 on success. Only supported on POSIX. **/
|
||||
__EXPORT int px4_task_join(px4_task_t pid);
|
||||
|
||||
/** Send a signal to a task **/
|
||||
__EXPORT int px4_task_kill(px4_task_t pid, int sig);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user