This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog thread.cc thread.h
- From: tpfaff at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 15 Apr 2003 20:14:12 -0000
- Subject: src/winsup/cygwin ChangeLog thread.cc thread.h
CVSROOT: /cvs/src
Module name: src
Changes by: tpfaff at sourceware dot 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