Searched refs:g_thread_local_key (Results 1 – 4 of 4) sorted by relevance
127 static pthread_key_t g_thread_local_key; variable153 pthread_key_delete(g_thread_local_key); in thread_key_destructor()160 pthread_key_create(&g_thread_local_key, thread_local_destructor) == 0; in thread_local_init()169 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local()184 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local()192 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()
93 static DWORD g_thread_local_key; variable97 g_thread_local_key = TlsAlloc(); in thread_local_init()98 g_thread_local_failed = (g_thread_local_key == TLS_OUT_OF_INDEXES); in thread_local_init()117 void **pointers = (void**) TlsGetValue(g_thread_local_key); in thread_local_destructor()211 void **ret = TlsGetValue(g_thread_local_key); in get_thread_locals()245 if (TlsSetValue(g_thread_local_key, pointers) == 0) { in CRYPTO_set_thread_local()
127 static pthread_key_t g_thread_local_key; variable132 pthread_key_create(&g_thread_local_key, thread_local_destructor) == 0; in thread_local_init()141 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local()156 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local()164 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()