diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-13 00:25:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-13 00:25:05 +0000 |
commit | 3f719364f834d32d2a4b14445a5178ac7d1326ef (patch) | |
tree | 085c7b5d024a4b4dc59a8b2af52aee1c2b712516 /nuttx/Documentation | |
parent | 576104c91e6efaecbc22811bea94aacc5f91d74a (diff) | |
download | px4-nuttx-3f719364f834d32d2a4b14445a5178ac7d1326ef.tar.gz px4-nuttx-3f719364f834d32d2a4b14445a5178ac7d1326ef.tar.bz2 px4-nuttx-3f719364f834d32d2a4b14445a5178ac7d1326ef.zip |
Add test for CONFIG_SEM_PREALLOCHOLDERS > 0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1596 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r-- | nuttx/Documentation/NuttxPortingGuide.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 4c3f3ff79..a381c6a67 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -1627,9 +1627,18 @@ The system can be re-made subsequently by just typing <code>make</code>. errorcheck mutexes. Enables <code>pthread_mutexattr_settype()</code>. </li> <li> - <code>CONFIG_PRIORITY_INHERITANCE </code>: Set to enable support for + <code>CONFIG_PRIORITY_INHERITANCE</code>: Set to enable support for priority inheritance on mutexes and semaphores. </li> + <li> + <code>CONFIG_SEM_PREALLOCHOLDERS: </code>: This setting is only used + if priority inheritance is enabled. + It defines the maximum number of different threads (minus one) that + can take counts on a semaphore with priority inheritance support. + 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. + </li> </ul> <p> |