3 #include "thread_private.h"
9 Thread::Thread(const string &name):
43 throw logic_error("already launched");
49 ThreadReturn THREAD_CALL Thread::Private::main_wrapper(void *arg)
51 Thread *thread = reinterpret_cast<Thread *>(arg);
52 thread->platform_setname();
54 thread->state_ = FINISHED;