Searched refs:g_thread_create_key (Results 1 – 2 of 2) sorted by relevance
62 static pthread_key_t g_thread_create_key = 0; variable67 ::pthread_key_create (&g_thread_create_key, FreeBSDThread::PThreadDestructor); in InitThreadCreated()74 if (g_thread_create_key) in ThreadCreated()76 ::pthread_setspecific (g_thread_create_key, new FreeBSDThread(thread_name)); in ThreadCreated()
84 static pthread_key_t g_thread_create_key = 0;126 ::pthread_setspecific (g_thread_create_key, NULL);138 ::pthread_key_create (&g_thread_create_key, MacOSXDarwinThread::PThreadDestructor);145 if (g_thread_create_key)147 ::pthread_setspecific (g_thread_create_key, new MacOSXDarwinThread(thread_name));