[PATCH] MTinterface patch part 1
Thomas Pfaff
tpfaff@gmx.net
Tue Sep 24 03:44:00 GMT 2002
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mtinterface1.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020924/f1ec30e8/attachment.ksh>
More information about the Cygwin-patches
mailing list