Searched refs:threadLocal (Results 1 – 4 of 4) 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()
12 private final ThreadLocal<SoftReference<T>> threadLocal = new ThreadLocal<SoftReference<T>>() { field in SoftThreadLocal19 T item = threadLocal.get().get(); in get()22 threadLocal.set(new SoftReference<>(item)); in get()28 threadLocal.set(new SoftReference<>(item)); in set()
42 void deThreadLocal_destroy (deThreadLocal threadLocal);44 void* deThreadLocal_get (deThreadLocal threadLocal);45 void deThreadLocal_set (deThreadLocal threadLocal, void* value);