diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 3684728eb0..3dc1dc5270 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -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. diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index d3689da49f..c4a6c90a76 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -4063,6 +4063,24 @@ build CONFIG_SIG_SIGWORK: The signal number that will be used to wake-up the worker thread. Default: 4 + +
  • + CONFIG_SCHED_WAITPID: Enables the waitpid() API +
  • +
  • + CONFIG_SCHED_ATEXIT: Enables the atexit() API +
  • +
  • + CONFIG_SCHED_ATEXIT_MAX: By default if CONFIG_SCHED_ATEXIT is selected, only a single atexit() function is supported. + That number can be increased by defined this setting to the number that you require. +
  • +
  • + CONFIG_SCHED_ONEXIT: Enables the on_exit() API +
  • +
  • + CONFIG_SCHED_ONEXIT_MAX: By default if CONFIG_SCHED_ONEXIT is selected, only a single on_exit() function is supported. + That number can be increased by defined this setting to the number that you require. +
  • diff --git a/nuttx/Documentation/NuttxUserGuide.html b/nuttx/Documentation/NuttxUserGuide.html index 9d3af1c270..457347727c 100644 --- a/nuttx/Documentation/NuttxUserGuide.html +++ b/nuttx/Documentation/NuttxUserGuide.html @@ -13,7 +13,7 @@

    NuttX Operating System

    User's Manual

    by

    Gregory Nutt

    -

    Last Updated: March 23, 2012

    +

    Last Updated: August 1, 2012

    @@ -54,7 +54,7 @@