Lines Matching refs:PlatformThread
192 class TOOLS_SANITY_TEST_CONCURRENT_THREAD : public PlatformThread::Delegate {
202 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); in ThreadMain()
208 class ReleaseStoreThread : public PlatformThread::Delegate {
218 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); in ThreadMain()
224 class AcquireLoadThread : public PlatformThread::Delegate {
230 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); in ThreadMain()
237 void RunInParallel(PlatformThread::Delegate *d1, PlatformThread::Delegate *d2) { in RunInParallel()
240 PlatformThread::Create(0, d1, &a); in RunInParallel()
241 PlatformThread::Create(0, d2, &b); in RunInParallel()
242 PlatformThread::Join(a); in RunInParallel()
243 PlatformThread::Join(b); in RunInParallel()