[PATCH] MTinterface patch part 3

Thomas Pfaff tpfaff@gmx.net
Tue Sep 24 03:45:00 GMT 2002


This is patch 3 of 3.

It will change thread cleanup to use a destructor function.

2002-09-24  Thomas Pfaff  <tpfaff@gmx.net>

	* init.cc (dll_entry): Run pthread key destructors on thread
	detach.
	* thread.cc (pthread::destructor): Implement.
	(pthread::exit): Remove runAllDestructors. Remove thread cleanup.
	* thread.h (pthread::destructor); New static member.
	(MTinterface::MTinterface): Set pthread self destructor function.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mtinterface3.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020924/9ecedff4/attachment.ksh>


More information about the Cygwin-patches mailing list