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
This commit is contained in:
parent
6b9ae00230
commit
a2204a8e89
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user