diff options
Diffstat (limited to 'doc/user/sem.t')
-rw-r--r-- | doc/user/sem.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/user/sem.t b/doc/user/sem.t index dfc9b819b2..e1d075085c 100644 --- a/doc/user/sem.t +++ b/doc/user/sem.t @@ -89,6 +89,8 @@ only be made available for acquisition by other tasks when the outermost @code{@value{DIRPREFIX}semaphore_obtain} is matched with a @code{@value{DIRPREFIX}semaphore_release}. +Simple binary semaphores do not allow nested access and so can be used for task synchronization. + @subsection Priority Inversion @@ -190,6 +192,9 @@ the set of valid semaphore attributes: @item @code{@value{RPREFIX}COUNTING_SEMAPHORE} - no restriction on values +@item @code{@value{RPREFIX}SIMPLE_BINARY_SEMAPHORE} - restrict values to +0 and 1 and do not allow nested access. + @item @code{@value{RPREFIX}NO_INHERIT_PRIORITY} - do not use priority inheritance (default) @@ -446,6 +451,9 @@ defined by RTEMS: @item @code{@value{RPREFIX}COUNTING_SEMAPHORE} - no restriction on values +@item @code{@value{RPREFIX}SIMPLE_BINARY_SEMAPHORE} - restrict values to +0 and 1 and do not allow nested access. + @item @code{@value{RPREFIX}NO_INHERIT_PRIORITY} - do not use priority inheritance (default) |