From 7ab326bbb406504d0ae528af8a06b8456201b6a6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 15 Jun 2009 21:44:27 +0000 Subject: 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 --- nuttx/configs/README.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'nuttx/configs/README.txt') 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 -- cgit v1.2.3