Home
last modified time | relevance | path

Searched refs:pthread_key (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/base/platform/
Dplatform-posix.cc627 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey() argument
633 intptr_t ptr_key = reinterpret_cast<intptr_t>(pthread_key); in PthreadKeyToLocalKey()
636 return static_cast<Thread::LocalStorageKey>(pthread_key); in PthreadKeyToLocalKey()
730 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey() local
731 int result = pthread_key_delete(pthread_key); in DeleteThreadLocalKey()
738 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal() local
739 return pthread_getspecific(pthread_key); in GetThreadLocal()
744 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal() local
745 int result = pthread_setspecific(pthread_key, value); in SetThreadLocal()