diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-03 21:08:26 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-03 21:08:26 +0000 |
commit | 742b399c665066cb5bd54b40a1a0e35ac4f653ce (patch) | |
tree | 225eb038290d250ddb764c36fd762e84a38d049a /c/src/exec/rtems/src/sem.c | |
parent | added an assert if a pthread_t is not the same size as an Objects_Id (diff) | |
download | rtems-742b399c665066cb5bd54b40a1a0e35ac4f653ce.tar.bz2 |
added priority ceiling support
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/rtems/src/sem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/exec/rtems/src/sem.c b/c/src/exec/rtems/src/sem.c index 004176f4fb..9dd8214b73 100644 --- a/c/src/exec/rtems/src/sem.c +++ b/c/src/exec/rtems/src/sem.c @@ -126,7 +126,8 @@ rtems_status_code rtems_semaphore_create( if ( _Attributes_Is_inherit_priority( attribute_set ) ) return RTEMS_NOT_DEFINED; - } else if ( _Attributes_Is_inherit_priority( attribute_set ) ) { + } else if ( _Attributes_Is_inherit_priority( attribute_set ) || + _Attributes_Is_priority_ceiling( attribute_set ) ) { if ( ! ( _Attributes_Is_binary_semaphore( attribute_set ) && _Attributes_Is_priority( attribute_set ) ) ) |