mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 14:23:35 +08:00
atexit() and on_exit() may now be configured to support multiple exit callbacks
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4995 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -3096,4 +3096,7 @@
|
||||
* arch/*/src/*_serial.c: Fix ioctl method return values. Theses methods
|
||||
should return a negated errno value; they should not set the errno
|
||||
variable.
|
||||
* sched/on_exit.c, sched/task_exithook.c, and include/nuttx/sched.c: Add
|
||||
support for multiple registered on_exit() functions if CONFIG_SCHED_ONEXIT_MAX
|
||||
is defined.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user