winsup/cygwin ChangeLog thread.cc thread.h

cgf@cygwin.com cgf@cygwin.com
Mon Jan 7 19:34:00 GMT 2013


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



More information about the Cygwin-cvs mailing list