From edc1347ed1484a9abd3d46f9c3c4fe0c0543f940 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 18 Feb 2000 14:11:46 +0000 Subject: Patch from Eric Norum to include some information on simple binary semaphores. --- doc/user/sem.t | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/user/sem.t') 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) -- cgit v1.2.3