_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 6ca820fa1e
commit 65fec0683a
11 changed files with 11 additions and 11 deletions

View File

@ -89,7 +89,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.

View File

@ -153,7 +153,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.

View File

@ -153,7 +153,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.

View File

@ -153,7 +153,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.

View File

@ -155,7 +155,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.

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.

View File

@ -154,7 +154,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.

View File

@ -82,7 +82,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.

View File

@ -153,7 +153,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.

View File

@ -155,7 +155,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.

View File

@ -156,7 +156,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.