Lines Matching refs:Thread

453 class Thread::PlatformData {
461 Thread::Thread(const Options& options) in Thread() function in v8::base::Thread
472 Thread::~Thread() { in ~Thread()
481 STATIC_ASSERT(Thread::kMaxThreadNameLength <= PTHREAD_MAX_NAMELEN_NP); in SetThreadName()
494 STATIC_ASSERT(Thread::kMaxThreadNameLength <= kMaxNameLength); in SetThreadName()
505 Thread* thread = reinterpret_cast<Thread*>(arg); in ThreadEntry()
517 void Thread::set_name(const char* name) { in set_name()
523 void Thread::Start() { in Start()
548 void Thread::Join() { in Join()
553 void Thread::YieldCPU() { in YieldCPU()
560 static Thread::LocalStorageKey PthreadKeyToLocalKey(pthread_key_t pthread_key) { in PthreadKeyToLocalKey()
565 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in PthreadKeyToLocalKey()
567 return static_cast<Thread::LocalStorageKey>(ptr_key); in PthreadKeyToLocalKey()
569 return static_cast<Thread::LocalStorageKey>(pthread_key); in PthreadKeyToLocalKey()
574 static pthread_key_t LocalKeyToPthreadKey(Thread::LocalStorageKey local_key) { in LocalKeyToPthreadKey()
576 STATIC_ASSERT(sizeof(Thread::LocalStorageKey) == sizeof(pthread_key_t)); in LocalKeyToPthreadKey()
627 static void CheckFastTls(Thread::LocalStorageKey key) { in CheckFastTls()
629 Thread::SetThreadLocal(key, expected); in CheckFastTls()
630 void* actual = Thread::GetExistingThreadLocal(key); in CheckFastTls()
635 Thread::SetThreadLocal(key, NULL); in CheckFastTls()
641 Thread::LocalStorageKey Thread::CreateThreadLocalKey() { in CreateThreadLocalKey()
662 void Thread::DeleteThreadLocalKey(LocalStorageKey key) { in DeleteThreadLocalKey()
670 void* Thread::GetThreadLocal(LocalStorageKey key) { in GetThreadLocal()
676 void Thread::SetThreadLocal(LocalStorageKey key, void* value) { in SetThreadLocal()