Searched refs:tls_key (Results 1 – 1 of 1) sorted by relevance
106 static DWORD tls_key; variable107 # define tsrm_tls_set(what) TlsSetValue(tls_key, (void*)(what))108 # define tsrm_tls_get() TlsGetValue(tls_key)110 static pthread_key_t tls_key; variable111 # define tsrm_tls_set(what) pthread_setspecific(tls_key, (void*)(what))112 # define tsrm_tls_get() pthread_getspecific(tls_key)122 tls_key = TlsAlloc(); in tsrm_startup()124 pthread_key_create(&tls_key, 0); in tsrm_startup()221 TlsFree(tls_key); in tsrm_shutdown()223 pthread_setspecific(tls_key, 0); in tsrm_shutdown()[all …]
Completed in 6 milliseconds