This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
winsup/cygwin ChangeLog thread.cc thread.h
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 7 Jan 2013 19:34:45 -0000
- Subject: winsup/cygwin ChangeLog thread.cc thread.h
CVSROOT: /cvs/uberbaum
Module name: winsup
Changes by: cgf@sourceware.org 2013-01-07 19:34:44
Modified files:
cygwin : ChangeLog thread.cc thread.h
Log message:
* thread.cc (pthread_rwlock::lookup_reader): Remove parameter: always assume
that we're looking for the current thread.
(pthread_rwlock::tryrdlock): Eliminate self variable. Accommodate change in
lookup_reader().
(pthread_rwlock::unlock): Ditto.
(pthread_rwlock::rdlock): Ditto. Move add_reader call after writer tests to
more closely mimic old behavior.
(pthread_rwlock::wrlock): Accommodate change in lookup_reader().
* thread.h ((pthread_rwlock::lookup_reader): Eliminate argument.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.6028&r2=1.6029
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.cc.diff?cvsroot=uberbaum&r1=1.277&r2=1.278
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/thread.h.diff?cvsroot=uberbaum&r1=1.134&r2=1.135