From 8f0529f65addd0664199d09080c1462b566c9773 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Nov 1999 15:58:09 +0000 Subject: Added maximum count detection logic. --- cpukit/score/include/rtems/score/coresem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit/score/include/rtems') diff --git a/cpukit/score/include/rtems/score/coresem.h b/cpukit/score/include/rtems/score/coresem.h index 2ef1371e8d..1384ca361d 100644 --- a/cpukit/score/include/rtems/score/coresem.h +++ b/cpukit/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; -- cgit v1.2.3