summaryrefslogtreecommitdiff
path: root/nuttx/configs/README.txt
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/configs/README.txt
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/configs/README.txt')
-rw-r--r--nuttx/configs/README.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt
index a5c6ca9d4..4c9667170 100644
--- a/nuttx/configs/README.txt
+++ b/nuttx/configs/README.txt
@@ -216,12 +216,16 @@ defconfig -- This is a configuration file similar to the Linux
to zero if no more than one thread is expected to wait for
a semaphore.
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.
+ 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.
+ desciptors by task_create() when a new task is started. If
+ set, all sockets will appear to be closed in the new task.
The following can be used to disable categories of APIs supported
by the OS. If the compiler supports weak functions, then it