src/winsup/cygwin ChangeLog thread.cc thread.h
tpfaff@cygwin.com
tpfaff@cygwin.com
Tue Apr 15 20:14:00 GMT 2003
CVSROOT: /cvs/src
Module name: src
Changes by: tpfaff@sourceware.org 2003-04-15 20:14:12
Modified files:
winsup/cygwin : ChangeLog thread.cc thread.h
Log message:
Fix a race in pthread_rwlock caused by simultanoues unlock and cancelation.
* thread.h (pthread_rwlock::release): New method.
* thread.cc (pthread_rwlock::unlock): Use release to signal
waiting threads.
(pthread_rwlock::rdlock_cleanup): Signal waiting threads after a
cancelation.
(pthread_rwlock::wrlock_cleanup): Ditto.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1863&r2=1.1864
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.122&r2=1.123
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.66&r2=1.67
More information about the Cygwin-cvs
mailing list