diff options
author | neal <neal> | 2008-01-23 22:53:30 +0000 |
---|---|---|
committer | neal <neal> | 2008-01-23 22:53:30 +0000 |
commit | b962fefe8733a2fd7911090b3e8565eff3469048 (patch) | |
tree | 5629246a5d61c8b134c4d0fe18d5e80d66936242 /libc-parts | |
parent | 6d56ee9424816a5739970eedfb7f87f030a110ad (diff) |
2008-01-23 Neal H. Walfield <neal@gnu.org>
* mutex.h (ss_mutex_unlock): Correctly test whether there are
waiters.
* rmutex.h (ss_rmutex_lock): Save the value of LOCKP->COUNT before
unlocking the LOCKP->LOCK. After unlocking, use the cached value.
(ss_rmutex_unlock): Improve assert. Only clear LOCKP->OWNER and
wake a waiter if LOCKP->COUNT drops to 0.
(ss_rmutex_trylock): Correctly test whether we got LOCKP->LOCK.
Diffstat (limited to 'libc-parts')
0 files changed, 0 insertions, 0 deletions