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