From a2204a8e89287c7928af7c1ada5ea5f090b993d8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 15 Jun 2009 21:44:27 +0000 Subject: [PATCH] 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 --- Documentation/NuttxPortingGuide.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 23eeb5cb9e..48a6b5fd98 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -2067,16 +2067,20 @@ extern void up_ledoff(int led);
  • CONFIG_FDCLONE_DISABLE: 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.
  • CONFIG_FDCLONE_STDIO: 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.
  • CONFIG_SDCLONE_DISABLE: 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.