Subject: CVS commit: src/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 02/16/2003 00:15:52
Module Name:	src
Committed By:	nathanw
Date:		Sat Feb 15 22:15:51 UTC 2003

Modified Files:
	src/lib/libpthread: Makefile pthread_cancelstub.c
Added Files:
	src/lib/libpthread: pthread_sleep.c

Log Message:
Implement nanosleep() at userlevel. Threaded applications seem to like
to sleep a lot, and there's no need for each such thread to consume kernel
resources.

(accidentally checked the pthread.c part of this in yesterday; no reason
 not to finish the job)


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/lib/libpthread/Makefile
cvs rdiff -r1.3 -r1.4 src/lib/libpthread/pthread_cancelstub.c
cvs rdiff -r0 -r1.1 src/lib/libpthread/pthread_sleep.c

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