mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 03:43:15 +01:00
l4_exit() works with a reasonable sched_die_sync()
Next: Killing other tasks more cleanly, and waiting on children
This commit is contained in:
@@ -200,7 +200,7 @@ void thread_destroy_current(void)
|
||||
/* Indicate we want to become zombie on suspend */
|
||||
current->flags |= TASK_EXITING;
|
||||
|
||||
sched_suspend_sync();
|
||||
sched_die_sync();
|
||||
}
|
||||
|
||||
/* Runs a thread for the first time */
|
||||
|
||||
Reference in New Issue
Block a user