Use rtems_task_exit()

This commit is contained in:
Sebastian Huber
2022-06-01 10:31:22 +02:00
parent 9e87868ec2
commit d1bfa784b7
18 changed files with 25 additions and 41 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