Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 10/23/2002 00:56:01
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.