summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttxPortingGuide.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-28 14:40:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-28 14:40:12 +0000
commita9ead1328ee2c67363e580946564c80ed91d96ff (patch)
tree649fb785890c05db65ac6d00418aad80205e729e /nuttx/Documentation/NuttxPortingGuide.html
parent814f5dab600d19ffe043363814503c113549e221 (diff)
downloadpx4-nuttx-a9ead1328ee2c67363e580946564c80ed91d96ff.tar.gz
px4-nuttx-a9ead1328ee2c67363e580946564c80ed91d96ff.tar.bz2
px4-nuttx-a9ead1328ee2c67363e580946564c80ed91d96ff.zip
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
Diffstat (limited to 'nuttx/Documentation/NuttxPortingGuide.html')
-rw-r--r--nuttx/Documentation/NuttxPortingGuide.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html
index a339b3a99..78c1327e2 100644
--- a/nuttx/Documentation/NuttxPortingGuide.html
+++ b/nuttx/Documentation/NuttxPortingGuide.html
@@ -4005,6 +4005,9 @@ build
This may be 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.
+ 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).
</li>
<li>
<code>CONFIG_SEM_NNESTPRIO</code>: If priority inheritance is enabled,
@@ -4012,6 +4015,8 @@ build
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.
+ 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).
</li>
<li>
<code>CONFIG_FDCLONE_DISABLE</code>: Disable cloning of all file descriptors