Subject: CVS commit: src/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 01/31/2003 06:58:57
Module Name:	src
Committed By:	nathanw
Date:		Fri Jan 31 04:58:57 UTC 2003

Modified Files:
	src/lib/libpthread: pthread_int.h pthread_run.c

Log Message:
Add a new internal function, pthread__sched_sleepers(), which iterates
over a sleep queue and puts everything on the run queue. This permits
the iteration to be inside the acquisition of the run queue spinlock,
avoiding repetitive acquire/release cycles.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/lib/libpthread/pthread_int.h \
    src/lib/libpthread/pthread_run.c

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