Use rtems_task_exit()

This commit is contained in:
Sebastian Huber
2022-06-01 10:31:22 +02:00
parent 61f646d9b9
commit ed25b390fc
19 changed files with 26 additions and 45 deletions

View File

@@ -109,13 +109,10 @@ wait_for_worker_thread(void)
static void
non_bsd_thread(rtems_task_argument arg)
{
rtems_status_code sc;
test_curthread("");
wake_up_main_thread();
sc = rtems_task_delete(RTEMS_SELF);
assert(sc == RTEMS_SUCCESSFUL);
rtems_task_exit();
}
static void