Subject: CVS commit: src/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 04/16/2003 18:30:45
Module Name:	src
Committed By:	nathanw
Date:		Wed Apr 16 18:30:44 UTC 2003

Modified Files:
	src/lib/libpthread: pthread_cond.c pthread_mutex.c

Log Message:
When a thread sleeps on a mutex or cv, have it put itself on the
front of the sleep queue rather than the back. This is more
cache-friendly behavior and within the (lack of) constraints on wakeup
ordering imposed on equal-priority threads.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/pthread_cond.c
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/pthread_mutex.c

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