Home | History | Annotate | Download | only in threading

Lines Matching refs:PlatformThread

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