diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:15:20 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-04-18 16:15:20 -0600 |
commit | 2d32b627f6f91e9f70ea20a481adf91dd8d27e99 (patch) | |
tree | 6ce126f0017af4d8cf269b433ca7087b655f7d11 /nuttx/arch/rgmp | |
parent | 032e040edbb467aa1137f8f7b3b9442579589ae1 (diff) | |
download | px4-nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.gz px4-nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.tar.bz2 px4-nuttx-2d32b627f6f91e9f70ea20a481adf91dd8d27e99.zip |
_exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit()
Diffstat (limited to 'nuttx/arch/rgmp')
-rw-r--r-- | nuttx/arch/rgmp/src/nuttx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/rgmp/src/nuttx.c b/nuttx/arch/rgmp/src/nuttx.c index da67ac214..a4f713be6 100644 --- a/nuttx/arch/rgmp/src/nuttx.c +++ b/nuttx/arch/rgmp/src/nuttx.c @@ -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. |