src/winsup/cygwin ChangeLog thread.cc thread.h
corinna@cygwin.com
corinna@cygwin.com
Tue Jan 20 12:40:00 GMT 2009
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-01-20 12:40:31
Modified files:
winsup/cygwin : ChangeLog thread.cc thread.h
Log message:
* thread.h (struct pthread_rwlock::RWLOCK_READER): Add counter n.
* thread.cc (pthread_rwlock::rdlock): If a thread already owns a
read lock, just count the number of locks for it, per SUSv4.
(pthread_rwlock::tryrdlock): Ditto.
(pthread_rwlock::unlock): If a thread has more than one concurrent
read locks, just count down.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4356&r2=1.4357
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.214&r2=1.215
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.109&r2=1.110
More information about the Cygwin-cvs
mailing list