summaryrefslogtreecommitdiffstats
path: root/doc/user
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-18 14:11:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-18 14:11:46 +0000
commitedc1347ed1484a9abd3d46f9c3c4fe0c0543f940 (patch)
tree3cd6e45d9ea7854d49d2cfbe7e8b684f02baf487 /doc/user
parent227aec92f03f0405a720315d5e8258a1a51f3c2f (diff)
downloadrtems-edc1347ed1484a9abd3d46f9c3c4fe0c0543f940.tar.bz2
Patch from Eric Norum <eric@cls.usask.ca> to include some information
on simple binary semaphores.
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/sem.t8
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)