diff options
Diffstat (limited to 'nuttx/Documentation/NuttxUserGuide.html')
-rw-r--r-- | nuttx/Documentation/NuttxUserGuide.html | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/nuttx/Documentation/NuttxUserGuide.html b/nuttx/Documentation/NuttxUserGuide.html index 48be3bee8..4efacd9fd 100644 --- a/nuttx/Documentation/NuttxUserGuide.html +++ b/nuttx/Documentation/NuttxUserGuide.html @@ -1492,7 +1492,8 @@ This parameter is required but not used in the present implementation. <LI><I>value</I>. The value parameter is type unsigned int. The semaphore is created with an initial value of <I>value</I>. Valid initial values for -semaphores must be less than or equal to <I>SEM_MAX_VALUE</I>. +semaphores must be less than or equal to <I>SEM_VALUE_MAX</I> (defined in +<CODE>include/limits.h</CODE>). </UL> </UL> @@ -2406,18 +2407,11 @@ in the si_code member. The content of si_value is only meaningful if the signal was generated by sigqueue(). The following values for si_code are defined in signal.h: <UL> -<LI>Standard: -<UL> -<LI><I>SI_QUEUE</I>. Signal sent from sigqueue -<LI><I>SI_MESGQ</I>. Signal generated by arrival of a message -on an empty message queue -</UL> - -<LI>Unique to this implementation: -<UL> -<LI><I>SI_TIMEOUT</I>. No Signal, restarted by timeout -</UL> - + <LI><I>SI_USER</I>. Signal sent from kill, raise, or abort + <LI><I>SI_QUEUE</I>. Signal sent from sigqueue + <LI><I>SI_TIMER</I>. Signal is result of timer expiration + <LI><I>SI_ASYNCIO</I>. Signal is the result of asynch IO completion + <LI><I>SI_MESGQ</I>. Signal generated by arrival of a message on an empty message queue. </UL> <P> |