_exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit()

This commit is contained in:
Gregory Nutt
2013-04-18 16:15:20 -06:00
parent 7be1a9622a
commit 5187631e30
19 changed files with 161 additions and 26 deletions
+1 -1
View File
@@ -422,7 +422,7 @@ void _exit(int status)
/* Destroy the task at the head of the ready to run list. */
(void)task_deletecurrent();
(void)task_exit();
/* Now, perform the context switch to the new ready-to-run task at the
* head of the list.