diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-31 23:39:12 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-31 23:39:12 +0000 |
commit | 35a1f247c44339eb39ae20b85b575d2e6e61a0cc (patch) | |
tree | 4ec59e18f087faba4945cf1bb1d7855d44e82080 /nuttx/Documentation | |
parent | ed4ee27f70c63909417a8854668a8fe057a971ff (diff) | |
download | px4-firmware-35a1f247c44339eb39ae20b85b575d2e6e61a0cc.tar.gz px4-firmware-35a1f247c44339eb39ae20b85b575d2e6e61a0cc.tar.bz2 px4-firmware-35a1f247c44339eb39ae20b85b575d2e6e61a0cc.zip |
Add on_exit(); Re-order some logic in the task shutdown sequence. Sometimes some complex logic needs to execute when closing file descriptors and this needs to happen early while the task is still healthy
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4354 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r-- | nuttx/Documentation/NuttxUserGuide.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/Documentation/NuttxUserGuide.html b/nuttx/Documentation/NuttxUserGuide.html index 09407bfb0..78f79b382 100644 --- a/nuttx/Documentation/NuttxUserGuide.html +++ b/nuttx/Documentation/NuttxUserGuide.html @@ -478,7 +478,7 @@ VxWorks provides the following similar interface: <b>Description:</b> This function causes the calling task to cease to exist -- its stack and TCB will be deallocated. exit differs from _exit in that it flushes streams, closes file descriptors and will -execute any function registered with atexit(). +execute any function registered with <code>atexit()</code> or <code>on_exit()</code>. <p> <b>Input Parameters:</b> <ul> |