summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/corerwlockobtainwrite.c
diff options
context:
space:
mode:
authorGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-11-27 18:38:18 +0000
committerGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-11-27 18:38:18 +0000
commit1d56a7a8b8a0b48fdeb02f6d4408a8236e8ccf95 (patch)
treef7b57219ee7fc61ccc9d0fa6023d556e954eefdb /cpukit/score/src/corerwlockobtainwrite.c
parent2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com> (diff)
downloadrtems-1d56a7a8b8a0b48fdeb02f6d4408a8236e8ccf95.tar.bz2
2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/score/src/corerwlockobtainwrite.c')
-rw-r--r--cpukit/score/src/corerwlockobtainwrite.c1
1 files changed, 1 insertions, 0 deletions
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;
}
/*