Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <firstname.lastname@example.org>
Date: 11/21/2003 22:08:00
Module Name: src
Committed By: nathanw
Date: Fri Nov 21 22:08:00 UTC 2003
Prevent ptc_mutex from remaining set if a CV sleep is woken by
* Arrange to not set ptc_mutex until after the pre-sleep cancellation
* In the post-sleep cancellation test, check if there are no more
sleepers and clear ptc_mutex if so.
While here, sprinkle some __predict_false() around the cancellation
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 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.