Searched refs:WaitFor (Results 1 – 14 of 14) sorted by relevance
81 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1))); in Run()123 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1))); in TEST()127 TEST(Semaphore, WaitFor) { in TEST() argument131 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST()132 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST()133 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST()137 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); in TEST()139 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); in TEST()141 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); in TEST()
71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { in WaitFor() function in v8::base::ConditionVariable125 bool WaitFor(DWORD timeout_ms) {273 while (!event->WaitFor(INFINITE))285 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {299 result = event->WaitFor(INFINITE - 1);305 result = event->WaitFor((msec < 0) ? 0 : static_cast<DWORD>(msec));
54 bool Semaphore::WaitFor(const TimeDelta& rel_time) { in WaitFor() function in v8::base::Semaphore109 bool Semaphore::WaitFor(const TimeDelta& rel_time) {178 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
59 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
22 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()25 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()
33 def WaitFor(condition, timeout): function101 WaitFor(IsServerUp, 10)
66 bool value = end_sweeping_semaphore_.WaitFor(base::TimeDelta::FromSeconds(0)); in SweepingCompleted()
616 if (!pending_sweeper_jobs_semaphore_.WaitFor( in IsSweepingCompleted()
META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
7488 CHECK(terminate_fired_semaphore.WaitFor(v8::base::TimeDelta::FromSeconds(2))); in DebugBreakTriggerTerminate()
22287 bool success = test->sem2_.WaitFor(v8::base::TimeDelta::FromSeconds(2)); in OnInterrupt()