From 1d56a7a8b8a0b48fdeb02f6d4408a8236e8ccf95 Mon Sep 17 00:00:00 2001 From: Glenn Humphrey Date: Tue, 27 Nov 2007 18:38:18 +0000 Subject: 2007-11-27 Glenn Humphrey * posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, rtems/include/rtems/rtems/barrier.h, score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c, score/src/corerwlockrelease.c: Fixed several implementation errors. --- cpukit/score/src/corerwlockobtainwrite.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/score/src/corerwlockobtainwrite.c') diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c index a1535b786f..2d1ff2aa3a 100644 --- a/cpukit/score/src/corerwlockobtainwrite.c +++ b/cpukit/score/src/corerwlockobtainwrite.c @@ -74,6 +74,7 @@ void _CORE_RWLock_Obtain_for_writing( if ( !wait ) { _ISR_Enable( level ); executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE; + return; } /* -- cgit v1.2.3