commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd-l4/hurd rmutex.h mutex.h ChangeLog


From: Neal H. Walfield
Subject: hurd-l4/hurd rmutex.h mutex.h ChangeLog
Date: Wed, 23 Jan 2008 22:53:31 +0000

CVSROOT:        /sources/hurd
Module name:    hurd-l4
Changes by:     Neal H. Walfield <neal> 08/01/23 22:53:31

Modified files:
        hurd           : rmutex.h mutex.h ChangeLog 

Log message:
        2008-01-23  Neal H. Walfield  <address@hidden>
        
                * 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.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/rmutex.h?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/mutex.h?cvsroot=hurd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/ChangeLog?cvsroot=hurd&r1=1.68&r2=1.69




reply via email to

[Prev in Thread] Current Thread [Next in Thread]