Searched refs:threadLocal (Results 1 – 3 of 3) sorted by relevance
42 void deThreadLocal_destroy (deThreadLocal threadLocal) in deThreadLocal_destroy() argument44 DE_ASSERT(threadLocal != 0); in deThreadLocal_destroy()45 TlsFree((DWORD)threadLocal); in deThreadLocal_destroy()48 void* deThreadLocal_get (deThreadLocal threadLocal) in deThreadLocal_get() argument50 DE_ASSERT(threadLocal != 0); in deThreadLocal_get()51 return TlsGetValue((DWORD)threadLocal); in deThreadLocal_get()54 void deThreadLocal_set (deThreadLocal threadLocal, void* value) in deThreadLocal_set() argument56 DE_ASSERT(threadLocal != 0); in deThreadLocal_set()57 TlsSetValue((DWORD)threadLocal, value); in deThreadLocal_set()
43 DE_INLINE pthread_key_t threadLocalToKey (deThreadLocal threadLocal) in threadLocalToKey() argument45 DE_ASSERT(threadLocal != 0); in threadLocalToKey()46 return (pthread_key_t)(threadLocal - 1); in threadLocalToKey()57 void deThreadLocal_destroy (deThreadLocal threadLocal) in deThreadLocal_destroy() argument60 ret = pthread_key_delete(threadLocalToKey(threadLocal)); in deThreadLocal_destroy()65 void* deThreadLocal_get (deThreadLocal threadLocal) in deThreadLocal_get() argument67 return pthread_getspecific(threadLocalToKey(threadLocal)); in deThreadLocal_get()70 void deThreadLocal_set (deThreadLocal threadLocal, void* value) in deThreadLocal_set() argument73 ret = pthread_setspecific(threadLocalToKey(threadLocal), value); in deThreadLocal_set()
42 void deThreadLocal_destroy (deThreadLocal threadLocal);44 void* deThreadLocal_get (deThreadLocal threadLocal);45 void deThreadLocal_set (deThreadLocal threadLocal, void* value);