diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 15:58:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-02 15:58:09 +0000 |
commit | 8f0529f65addd0664199d09080c1462b566c9773 (patch) | |
tree | 41e8be29f62bdf570a749aeed2fbcf7c3472c9b6 /c/src/exec/score/include/rtems/score/coresem.h | |
parent | Added support for message priority as required by POSIX. (diff) | |
download | rtems-8f0529f65addd0664199d09080c1462b566c9773.tar.bz2 |
Added maximum count detection logic.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/include/rtems/score/coresem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/exec/score/include/rtems/score/coresem.h b/c/src/exec/score/include/rtems/score/coresem.h index 2ef1371e8d..1384ca361d 100644 --- a/c/src/exec/score/include/rtems/score/coresem.h +++ b/c/src/exec/score/include/rtems/score/coresem.h @@ -55,7 +55,8 @@ typedef enum { CORE_SEMAPHORE_STATUS_SUCCESSFUL, CORE_SEMAPHORE_STATUS_UNSATISFIED_NOWAIT, CORE_SEMAPHORE_WAS_DELETED, - CORE_SEMAPHORE_TIMEOUT + CORE_SEMAPHORE_TIMEOUT, + CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED } CORE_semaphore_Status; /* @@ -64,6 +65,7 @@ typedef enum { */ typedef struct { + unsigned32 maximum_count; CORE_semaphore_Disciplines discipline; } CORE_semaphore_Attributes; |