uORB: join threads in unit tests

This commit is contained in:
Julian Oes
2026-02-18 21:03:34 +13:00
parent 261cc16077
commit 20669aba6f
3 changed files with 23 additions and 0 deletions
@@ -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);