Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 06/24/2004 22:18:11
Module Name: src
Committed By: nathanw
Date: Thu Jun 24 22:18:11 UTC 2004
Modified Files:
src/lib/libpthread: pthread_sleep.c
Log Message:
If the sleep sleeps for its full time and rmtp is non-NULL, clear it;
sleep(3) expects this, even though it's not a documented property of
nanosleep().
Fixes a problem where sleep() in a threaded program would return
nonzero even on success.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 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.