commit-hurd
[Top][All Lists]
Advanced

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

hurd-l4/hurd mutex.h lock.h headers.m4 Makefile...


From: Neal H. Walfield
Subject: hurd-l4/hurd mutex.h lock.h headers.m4 Makefile...
Date: Tue, 22 Jan 2008 22:08:46 +0000

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

Modified files:
        hurd           : mutex.h lock.h headers.m4 Makefile.am ChangeLog 
Added files:
        hurd           : rmutex.h 

Log message:
        2008-01-22  Neal H. Walfield  <address@hidden>
        
                * mutex.h [RM_INTERN]: Raise an error.
                [! __hurd_mutex_have_type]: Only define ss_mutex_t in this case.
                Define __hurd_mutex_have_type.  Change ss_mutex_t to an int.
                [__need_ss_mutex_t]: Undefine __need_ss_mutex_t.  Don't make the
                rest of the file available.
                [! __need_ss_mutex_t]: Include <hurd/futex.h>.
                (_MUTEX_UNLOCKED): New define.
                (_MUTEX_LOCKED): Likewise.
                (_MUTEX_WAITERS): Likewise.
                (ss_mutex_lock): Implement in terms of futexes.
                (ss_mutex_unlock): Likewise.
                (ss_mutex_trylock): Likewise.
        
                * lock.h (SS_RMUTEX_LOCK): Define.
                (SS_RMUTEX_LOCK_INC): Likewise.
                (SS_RMUTEX_LOCK_WAIT): Likewise.
                (SS_RMUTEX_UNLOCK): Likewise.
                (SS_RMUTEX_UNLOCK_DEC): Likewise.
                (SS_RMUTEX_TRYLOCK): Likewise.
                (SS_RMUTEX_TRYLOCK_INC): Likewise.
                (SS_RMUTEX_TRYLOCK_BLOCKED): Likewise.
                (ss_lock_trace_dump): Handle the above new cases.
                * rmutex.h: New file.
                * Makefile.am (includehurd_HEADERS): Add rmutex.h.
                * headers.m4: Link $(BUILDIR)/include/hurd/rmutex.h to rmutex.h.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/mutex.h?cvsroot=hurd&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/lock.h?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/headers.m4?cvsroot=hurd&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/Makefile.am?cvsroot=hurd&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/ChangeLog?cvsroot=hurd&r1=1.65&r2=1.66
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/rmutex.h?cvsroot=hurd&rev=1.1




reply via email to

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