src/winsup/cygwin ChangeLog thread.cc

corinna@cygwin.com corinna@cygwin.com
Wed Feb 8 19:58:00 GMT 2012


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2012-02-08 19:58:38

Modified files:
	winsup/cygwin  : ChangeLog thread.cc 

Log message:
	* thread.cc (__pthread_cond_wait_init): New static function replacing
	__pthread_cond_dowait.  Only check and potentially initialize cond and
	mutex, drop call to (*cond)->wait.
	(pthread_cond_timedwait): Replace call to __pthread_cond_dowait with
	separate calls to __pthread_cond_wait_init and (*cond)->wait to be
	able to initialize cond before accessing its clock_id member.
	(pthread_cond_wait): Ditto (more or less).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5688&r2=1.5689
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.253&r2=1.254



More information about the Cygwin-cvs mailing list