Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 07/27/2004 21:44:48
Module Name:	src
Committed By:	nathanw
Date:		Tue Jul 27 21:44:48 UTC 2004

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

Log Message:
In cond_wait() and cond_timedwait(), do the ERRORCHECK testing of the
waiters list in all cases, not just on cancellation; there are other
sources of spurious wakeups, such as single-stepping in the debugger.

regress/lib/libpthread/conddestroy1 now passes.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/lib/libpthread/pthread_cond.c

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