Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 10/04/2007 21:04:32
Module Name:	src
Committed By:	ad
Date:		Thu Oct  4 21:04:32 UTC 2007

Modified Files:
	src/lib/libpthread: pthread_lock.c

Log Message:
Drop PTHREAD__NSPINS back from 1000 to 64. Setting the waiters bits and
preparing to sleep on a mutex are slow in relative terms, so this allows
us to recover from short lock holds without blocking, while not wasting
too much time on longer holds.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/lib/libpthread/pthread_lock.c

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