4 #include "thread_private.h"
8 void Thread::platform_join()
10 pthread_join(_priv->handle, 0);
13 void Thread::platform_kill()
15 pthread_kill(_priv->handle, SIGKILL);
18 void Thread::platform_launch()
20 pthread_create(&_priv->handle, 0, &Private::main_wrapper, this);
23 void Thread::platform_setname()
25 #if defined(__GLIBC__) && (__GLIBC__>2 || (__GLIBC__==2 && __GLIBC_MINOR__>=12))
27 pthread_setname_np(_priv->handle, _name.c_str());