Searched refs:g_thread_local_key (Results 1 – 2 of 2) sorted by relevance
139 static DWORD g_thread_local_key; variable147 g_thread_local_key = TlsAlloc(); in thread_local_init()148 g_thread_local_failed = (g_thread_local_key == TLS_OUT_OF_INDEXES); in thread_local_init()162 void **pointers = (void**) TlsGetValue(g_thread_local_key); in thread_local_destructor()244 void **pointers = TlsGetValue(g_thread_local_key); in CRYPTO_get_thread_local()259 void **pointers = TlsGetValue(g_thread_local_key); in CRYPTO_set_thread_local()267 if (TlsSetValue(g_thread_local_key, pointers) == 0) { in CRYPTO_set_thread_local()
107 static pthread_key_t g_thread_local_key; variable112 pthread_key_create(&g_thread_local_key, thread_local_destructor) != 0; in thread_local_init()121 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local()136 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local()144 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()