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 | 835f66079e76710bb2fe74866f9eb646a9a03014 (patch) | |
tree | 4ec59e18f087faba4945cf1bb1d7855d44e82080 /nuttx/ChangeLog | |
parent | 63f70dffcd78744d106da124e68beaa303a5fd5b (diff) |
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/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 5e4b902b5e..e60b6689a8 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -2416,3 +2416,9 @@ This upsets C++ if usb.h is included. 'class' -> 'classid' in this header file and all places that referenced 'class' * drivers/usbdev/usbmsc.c: Fixed some backward conditional compilation. + * sched/on_exit.c: Add support for the on_exit() function., + * sched/exit.c, task_exithook.c, task_delete.c, sched_releasetcb.c: Move + the logic that closes file descriptors sooner in the task shutdown sequence. + When drivers are closed, they may need to do things that require a fully + up-and-running task. Some things cannot be done later when the task is + crippled. |