From c6295b90667dcc68ea1f933ea7a1d45fd39b7475 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 13 Mar 2009 00:25:05 +0000 Subject: [PATCH] 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 --- Documentation/NuttxPortingGuide.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 4c3f3ff79d2..a381c6a6732 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -1627,9 +1627,18 @@ The system can be re-made subsequently by just typing make. errorcheck mutexes. Enables pthread_mutexattr_settype().
  • - CONFIG_PRIORITY_INHERITANCE : Set to enable support for + CONFIG_PRIORITY_INHERITANCE: Set to enable support for priority inheritance on mutexes and semaphores.
  • +
  • + CONFIG_SEM_PREALLOCHOLDERS: : 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. +