This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


CVSROOT:	/cvs/src
Module name:	src
Changes by:	tpfaff@sourceware.org	2003-06-24 20:14:01

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

Log message:
	* thread.cc (MTinterface::fixup_after_fork): Fix thread list after fork.
	(pthread::threads): Instantiate.
	(pthread::pthread): Initialize running and suspendend.
	Initialize next with NULL.
	Add thread to thread list if it is not the null_pthread.
	(pthread::~pthread): Remove thread from thread list if it is not the null_pthread.
	(pthread::postcreate): Set running flag.
	(pthread::exit): Reset running flag.
	(pthread::cancel): Try to cancel thread only if still running.
	(pthread::_fixup_after_fork): Implement.
	(pthread::detach): Check if thread is still running before detach.
	* thread.h (pthread::running): New member.
	(pthread::next): Ditto.
	(pthread::fixup_after_fork): New static method.
	(pthread::threads): New static method.
	(pthread::_fixup_after_fork): New method.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1941&r2=1.1942
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.128&r2=1.129
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.h.diff?cvsroot=src&r1=1.70&r2=1.71


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]