Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 12/19/2002 00:56:14
Module Name:	basesrc
Committed By:	nathanw
Date:		Wed Dec 18 22:56:14 UTC 2002

Modified Files:
	basesrc/lib/libpthread [nathanw_sa]: pthread_rwlock.c

Log Message:
Analagous to the fixes in pthread_cond.c, ensure that only one of an
alarm callback or an unlock can remove a thread from a timed lock
sleep and schedule it.

Don't call pthread__alarm_fired() until after pthread__alarm_del().


To generate a diff of this commit:
cvs rdiff -r1.1.2.1 -r1.1.2.2 basesrc/lib/libpthread/pthread_rwlock.c

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