summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttxPortingGuide.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-01 17:47:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-01 17:47:54 +0000
commit2dfc5da16f3e3abc4b36413e8205e3dcd4df7928 (patch)
tree9226c125b2583f72f45393934b2571f2600fee49 /nuttx/Documentation/NuttxPortingGuide.html
parent4a16b1826cafc353fa90826cbd4416476f1ea682 (diff)
downloadpx4-nuttx-2dfc5da16f3e3abc4b36413e8205e3dcd4df7928.tar.gz
px4-nuttx-2dfc5da16f3e3abc4b36413e8205e3dcd4df7928.tar.bz2
px4-nuttx-2dfc5da16f3e3abc4b36413e8205e3dcd4df7928.zip
atexit() and on_exit() may now be configured to support multiple exit callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4995 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index d3689da49..c4a6c90a7 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -4063,6 +4063,24 @@ build
<code>CONFIG_SIG_SIGWORK</code>: The signal number that will be used to wake-up
the worker thread. Default: 4
</li>
+
+ <li>
+ <code>CONFIG_SCHED_WAITPID</code>: Enables the <a href="NuttxUserGuide.html#waitpid"><code>waitpid()</code><a> API
+ </li>
+ <li>
+ <code>CONFIG_SCHED_ATEXIT</code>: Enables the <a href="NuttxUserGuide.html#atexit">atexit()</code><a> API
+ </li>
+ <li>
+ <code>CONFIG_SCHED_ATEXIT_MAX</code>: By default if <code>CONFIG_SCHED_ATEXIT</code> is selected, only a single <code>atexit()</code> function is supported.
+ That number can be increased by defined this setting to the number that you require.
+ </li>
+ <li>
+ <code>CONFIG_SCHED_ONEXIT</code>: Enables the <a href="NuttxUserGuide.html#onexit">on_exit()</code><a> API
+ </li>
+ <li>
+ <code>CONFIG_SCHED_ONEXIT_MAX</code>: By default if <code>CONFIG_SCHED_ONEXIT</code> is selected, only a single <code>on_exit()</code> function is supported.
+ That number can be increased by defined this setting to the number that you require.
+ </li>
</ul>
<p>