3 #include "thread_private.h"
9 void Thread::platform_join()
11 WaitForSingleObject(priv_->handle, INFINITE);
14 void Thread::platform_kill()
16 TerminateThread(priv_->handle, 0);
19 void Thread::platform_launch()
21 DWORD dummy; // Win9x needs the lpTthreadId parameter
22 priv_->handle = CreateThread(0, 0, &Private::main_wrapper, this, 0, &dummy);