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.cc877 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey() argument
883 intptr_t ptr_key = reinterpret_cast<intptr_t>(pthread_key); in PthreadKeyToLocalKey()
886 return static_cast<Thread::LocalStorageKey>(pthread_key); in PthreadKeyToLocalKey()
979 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in DeleteThreadLocalKey() local
980 int result = pthread_key_delete(pthread_key); in DeleteThreadLocalKey()
987 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in GetThreadLocal() local
988 return pthread_getspecific(pthread_key); in GetThreadLocal()
993 pthread_key_t pthread_key = LocalKeyToPthreadKey(key); in SetThreadLocal() local
994 int result = pthread_setspecific(pthread_key, value); in SetThreadLocal()