Subj : Re: thread::join on windows? To : comp.lang.tcl,comp.programming.threads From : Phil Frisbie, Jr. Date : Wed Feb 09 2005 09:42 pm David N. Welton wrote: > "Markus Elfring" writes: > > >>>Hi, I'm trying to ascertain what thread::join does on windows. It's >>>basically a wrapper around Tcl_JoinThread, and that man page says: >> >>http://tcl.tk/man/tcl8.5/TclLib/Thread.htm >> >> >>> Windows currently does not support joinable threads. This flag >>> value is therefore ignored on this platform. >>> >>>Yet nothing like that is mentioned in the thread extension >>>documentation, so I'm a bit confused... Windows DOES support a mechanism very similar to joinable threads. You can call WaitForSingleObject() and GetExitCodeThread() to emulate a thread::join type function. -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com .