This is the mail archive of the cygwin-patches@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]

[PATCH] MTinterface patch part 1


This is part 1 of 3 patches for the MTinterface.

It provides a more general implementation of Robs initMainThread that
could be used also to assign thread handles for threads that are created
outside pthread (via CreateThread).

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

	* thread.cc (MTinterface::init): Change initMainThread arguments.
	(pthread::initMainThread): Converted to method.
	(pthread::self): Initialize win32_obj_id via initThread for
	unknown thread.	Mark thread as detached to force cleanup on thread
	terminiation.
	(pthread::thread_init_wrapper): Set thread_id.
	(pthread::initThread): Implement.
	* thread.h (pthread::initMainThread): Convert to method.
	(pthread::initThread): New method.

Attachment: mtinterface1.patch
Description: Text document


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