summaryrefslogtreecommitdiff
path: root/nuttx/Documentation
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-15 21:44:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-15 21:44:27 +0000
commit7ab326bbb406504d0ae528af8a06b8456201b6a6 (patch)
treeb24fad5ab2aaa4434d354822b7563426cc08a8a1 /nuttx/Documentation
parent8e8a4c5677c081b145768538d9944d817e3985c8 (diff)
downloadpx4-nuttx-7ab326bbb406504d0ae528af8a06b8456201b6a6.tar.gz
px4-nuttx-7ab326bbb406504d0ae528af8a06b8456201b6a6.tar.bz2
px4-nuttx-7ab326bbb406504d0ae528af8a06b8456201b6a6.zip
Add conditional compilation to eliminate or limit cloning of descriptors when a new task is created
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1886 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index 23eeb5cb9..48a6b5fd9 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -2067,16 +2067,20 @@ extern void up_ledoff(int led);
</li>
<li>
<code>CONFIG_FDCLONE_DISABLE</code>: Disable cloning of all file descriptors
- by task_create() when a new task is started.
+ by task_create() when a new task is started.
+ If set, all files/drivers will appear to be closed in the new task.
</li>
<li>
<code>CONFIG_FDCLONE_STDIO</code>: Disable cloning of all but the first
three file descriptors (stdin, stdout, stderr) by task_create()
when a new task is started.
+ If set, all files/drivers will appear to be closed in the new task except
+ for stdin, stdout, and stderr.
</li>
<li>
<code>CONFIG_SDCLONE_DISABLE</code>: Disable cloning of all socket
desciptors by task_create() when a new task is started.
+ If set, all sockets will appear to be closed in the new task.
</li>
</ul>