Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libpthread
Module Name: src
Committed By: nathanw
Date: Fri Nov 21 22:08:00 UTC 2003
Modified Files:
src/lib/libpthread: pthread_cond.c
Log Message:
Prevent ptc_mutex from remaining set if a CV sleep is woken by
cancellation:
* Arrange to not set ptc_mutex until after the pre-sleep cancellation
test.
* 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
tests.
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.
Home |
Main Index |
Thread Index |
Old Index