diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index 3df2dfa9d22..a12e61335ae 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -13,7 +13,7 @@

NuttX Operating System

User's Manual

by

Gregory Nutt

-

Last Updated: February 5, 2013

+

Last Updated: February 13, 2013

@@ -1999,8 +1999,22 @@ priority of the calling task is returned.
  • 2.3.5 waitid
  • 2.3.6 wait
  • +
  • - atexit() and on_exit() may be use to register callback functions that are executed when a task exits. + Task Exit Hooks. + atexit() and on_exit() may be use to register callback functions that are executed when a task group terminates. + A task group is the functional analog of a process: + It is a group that consists of the main task thread and of all of the pthreads created by the main task thread or any of the other pthreads within the task broup. + Members of a task group share certain resources such as environment variables, file descriptors, FILE streams, sockets, pthread keys and open message queues. +

    +
    + NOTE: + Behavior of features related to task groups depend of NuttX configuration settings. + See the discussion of "Parent and Child Tasks," below. + See also the NuttX Threading Wiki page and the Tasks vs. Threads FAQ for additional information on tasks and threads in NuttX. +
    +

    + A task group terminates when the last thread within the group exits.