From a9ead1328ee2c67363e580946564c80ed91d96ff Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 28 Aug 2012 14:40:12 +0000 Subject: Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5060 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/README.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nuttx/configs') diff --git a/nuttx/configs/README.txt b/nuttx/configs/README.txt index 87725bf58..7da0aa062 100644 --- a/nuttx/configs/README.txt +++ b/nuttx/configs/README.txt @@ -323,13 +323,17 @@ defconfig -- This is a configuration file similar to the Linux set to zero if priority inheritance is disabled OR if you are only using semaphores as mutexes (only one holder) OR if no more than two threads participate using a counting - semaphore. + semaphore. If defined, then this should be a relatively + large number because this is the total number of counts on + the total number of semaphores (like 64 or 100). CONFIG_SEM_NNESTPRIO. If priority inheritance is enabled, then this setting is the maximum number of higher priority threads (minus 1) than can be waiting for another thread to release a count on a semaphore. This value may be set to zero if no more than one thread is expected to wait for - a semaphore. + a semaphore. If defined, then this should be a relatively + small number because this the number of maximumum of waiters + on one semaphore (like 4 or 8). CONFIG_FDCLONE_DISABLE. Disable cloning of all file descriptors by task_create() when a new task is started. If set, all files/drivers will appear to be closed in the new task. -- cgit v1.2.3