Lines Matching refs:PlatformThread
13 class TrivialThread : public PlatformThread::Delegate {
34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); in TEST()
35 PlatformThread::Join(handle); in TEST()
46 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); in TEST()
48 PlatformThread::Join(handle[n]); in TEST()
60 thread_id_ = PlatformThread::CurrentId(); in ThreadMain()
61 PlatformThread::YieldCurrentThread(); in ThreadMain()
62 PlatformThread::Sleep(50); in ThreadMain()
76 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST()
82 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); in TEST()
83 PlatformThread::Join(handle); in TEST()
89 PlatformThreadId main_thread_id = PlatformThread::CurrentId(); in TEST()
97 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); in TEST()
99 PlatformThread::Join(handle[n]); in TEST()