Lines Matching refs:semaphore_
358 semaphore_(v8::internal::OS::CreateSemaphore(0)),
362 virtual ~LoopingThread() { delete semaphore_; }
373 bool WaitForRunning() { return semaphore_->Wait(1000000); }
384 void SignalRunning() { semaphore_->Signal(); }
387 v8::internal::Semaphore* semaphore_;
438 semaphore_(v8::internal::OS::CreateSemaphore(0)),
442 ~TestSampler() { delete semaphore_; }
448 void Tick(v8::internal::TickSample*) { semaphore_->Signal(); }
450 bool WaitForTick() { return semaphore_->Wait(1000000); }
457 v8::internal::Semaphore* semaphore_;