diff options
author | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-11-27 18:38:18 +0000 |
---|---|---|
committer | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-11-27 18:38:18 +0000 |
commit | 1d56a7a8b8a0b48fdeb02f6d4408a8236e8ccf95 (patch) | |
tree | f7b57219ee7fc61ccc9d0fa6023d556e954eefdb /cpukit/score/src/corerwlockobtainread.c | |
parent | 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com> (diff) | |
download | rtems-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/corerwlockobtainread.c')
-rw-r--r-- | cpukit/score/src/corerwlockobtainread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/src/corerwlockobtainread.c b/cpukit/score/src/corerwlockobtainread.c index 724529eef5..21429a5658 100644 --- a/cpukit/score/src/corerwlockobtainread.c +++ b/cpukit/score/src/corerwlockobtainread.c @@ -84,6 +84,7 @@ void _CORE_RWLock_Obtain_for_reading( if ( !wait ) { _ISR_Enable( level ); executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE; + return; } /* |