l4_exit() works with a reasonable sched_die_sync()

Next: Killing other tasks more cleanly, and waiting on children
This commit is contained in:
Bahadir Balban
2009-10-29 22:44:58 +02:00
parent 73a27f2269
commit a6c61e05b9
9 changed files with 121 additions and 16 deletions

View File

@@ -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 */