From b452a4023c113332a65a7e290e6c0ecb1dc1c5b7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 3 Feb 2000 22:20:41 +0000 Subject: Changed behavior to match that expected by EPICS test code. Reported by Eric Norum . --- c/src/exec/rtems/src/semcreate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'c/src/exec/rtems/src') diff --git a/c/src/exec/rtems/src/semcreate.c b/c/src/exec/rtems/src/semcreate.c index 54a5bf80f2..a0c015cde4 100644 --- a/c/src/exec/rtems/src/semcreate.c +++ b/c/src/exec/rtems/src/semcreate.c @@ -159,8 +159,7 @@ rtems_status_code rtems_semaphore_create( break; } } else { - /* just to avoid warnings */ - the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_IS_ERROR; + the_mutex_attributes.lock_nesting_behavior = CORE_MUTEX_NESTING_BLOCKS; the_mutex_attributes.only_owner_release = FALSE; } -- cgit v1.2.3