src/winsup/cygwin ChangeLog thread.cc thread.h

corinna@cygwin.com corinna@cygwin.com
Sat Apr 30 10:20:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2011-04-30 10:20:25

Modified files:
	winsup/cygwin  : ChangeLog thread.cc thread.h 

Log message:
	* thread.h (class pthread): Add bool member canceled.
	* thread.cc (pthread::pthread): Initialize canceled to false.
	(pthread::cancel): Set canceled before setting cancel_event.
	(pthread::testcancel): Check for canceled.  Only wait for cancel_event
	if canceled is true.  Explain why.
	(pthread::_fixup_after_fork): Set canceled to false.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5282&r2=1.5283
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.231&r2=1.232
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.116&r2=1.117



More information about the Cygwin-cvs mailing list