mirror of
https://github.com/apache/nuttx.git
synced 2026-08-03 21:29:02 +00:00
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
This commit is contained in:
parent
c2798e9769
commit
c6295b9066
1 changed files with 10 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue