diff options
author | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-11-06 19:54:22 +0000 |
---|---|---|
committer | Glenn Humphrey <glenn.humphrey@oarcorp.com> | 2007-11-06 19:54:22 +0000 |
commit | 22112254389fc40e8d4431554c4c64651a5c4b5c (patch) | |
tree | 10fdcd2d6473cfbc4ae1aba6afa7e7eb82fedbb5 /cpukit/posix/src/prwlockwrlock.c | |
parent | Regenerate. (diff) | |
download | rtems-22112254389fc40e8d4431554c4c64651a5c4b5c.tar.bz2 |
2007-11-06 Glenn Humphrey <glenn.humphrey@OARcorp.com>
Miscellaneous changes made after a review against the POSIX spec.
* posix/src/pbarrierinit.c, posix/src/prwlockinit.c: If the caller
passes a NULL in the attributes parameter, default attributes are used.
* posix/src/prwlockdestroy.c: If there is at least one thread
waiting, do not allow deletion.
* posix/src/prwlockwrlock.c: Corrected parameter passed to the core
operation used to obtain a RWLock for writing.
* posix/src/pspinlocktranslatereturncode.c,
score/include/rtems/score/corespinlock.h,
score/src/corespinlockrelease.c: If the current thread is not the
holder of the lock, do not allow an unlock and return EPERM.
* score/src/corerwlockobtainwrite.c: Corrected to use the operation
for queueing with a timeout handler.
Diffstat (limited to 'cpukit/posix/src/prwlockwrlock.c')
-rw-r--r-- | cpukit/posix/src/prwlockwrlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlockwrlock.c b/cpukit/posix/src/prwlockwrlock.c index dfacd90a30..127a6b0a23 100644 --- a/cpukit/posix/src/prwlockwrlock.c +++ b/cpukit/posix/src/prwlockwrlock.c @@ -56,7 +56,7 @@ int pthread_rwlock_wrlock( _CORE_RWLock_Obtain_for_writing( &the_rwlock->RWLock, *rwlock, - FALSE, /* do not timeout -- wait forever */ + TRUE, /* do not timeout -- wait forever */ 0, NULL ); |