Source-Changes archive

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

CVS commit: [nathanw_sa] basesrc/lib/libpthread



Module Name:    basesrc
Committed By:   nathanw
Date:           Tue Oct 22 21:56:01 UTC 2002

Modified Files:
        basesrc/lib/libpthread [nathanw_sa]: pthread_mutex.c

Log Message:
Speed up pthread_mutex_unlock() similarly to what was done to
pthread_mutex_lock(): heavily optimize for the case of a mutex with no
waiters, and defer the waiter case to a separate function.

Uncontested mutexes now no longer use library spin locks.


To generate a diff of this commit:
cvs rdiff -r1.1.2.12 -r1.1.2.13 basesrc/lib/libpthread/pthread_mutex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index