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.cc648 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey() argument
654 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() local
752 int result = pthread_key_delete(pthread_key); in DeleteThreadLocalKey()
759 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal() local
760 return pthread_getspecific(pthread_key); in GetThreadLocal()
765 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal() local
766 int result = pthread_setspecific(pthread_key, value); in SetThreadLocal()