From 742b399c665066cb5bd54b40a1a0e35ac4f653ce Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 3 Jun 1996 21:08:26 +0000 Subject: added priority ceiling support --- cpukit/rtems/src/sem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/rtems/src/sem.c') diff --git a/cpukit/rtems/src/sem.c b/cpukit/rtems/src/sem.c index 004176f4fb..9dd8214b73 100644 --- a/cpukit/rtems/src/sem.c +++ b/cpukit/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 ) ) ) -- cgit v1.2.3