Searched refs:pthread_key (Results 1 – 1 of 1) sorted by relevance
648 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey() argument654 intptr_t ptr_key = reinterpret_cast<intptr_t>(pthread_key); in PthreadKeyToLocalKey()657 return static_cast<Thread::LocalStorageKey>(pthread_key); in PthreadKeyToLocalKey()751 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey() local752 int result = pthread_key_delete(pthread_key); in DeleteThreadLocalKey()759 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal() local760 return pthread_getspecific(pthread_key); in GetThreadLocal()765 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal() local766 int result = pthread_setspecific(pthread_key, value); in SetThreadLocal()