3 #include "thread_private.h"
9 Thread::Thread(const string &name):
42 throw logic_error("already launched");
48 ThreadReturn THREAD_CALL Thread::Private::main_wrapper(void *arg)
50 Thread *thread = reinterpret_cast<Thread *>(arg);
51 thread->platform_setname();
53 thread->_state = FINISHED;