Searched refs:semaphore_ (Results 1 – 5 of 5) sorted by relevance
75 : Thread(Options("WaitAndSignalThread")), semaphore_(semaphore) {} in WaitAndSignalThread()80 semaphore_->Wait(); in Run()81 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1))); in Run()82 semaphore_->Signal(); in Run()87 Semaphore* const semaphore_; member in v8::base::__anon04c442080111::FINAL
138 semaphore_(new v8::internal::Semaphore(0)),142 virtual ~LoopingThread() { delete semaphore_; }153 bool WaitForRunning() { return semaphore_->Wait(1000000); }164 void SignalRunning() { semaphore_->Signal(); }167 v8::internal::Semaphore* semaphore_;224 semaphore_(new v8::internal::Semaphore(0)),228 ~TestSampler() { delete semaphore_; }234 void Tick(v8::internal::TickSample*) { semaphore_->Signal(); }236 bool WaitForTick() { return semaphore_->Wait(1000000); }243 v8::internal::Semaphore* semaphore_;
134 semaphore_(semaphore) {} in ThreadIdValidationThread()146 semaphore_->Signal(); in Run()153 v8::base::Semaphore* semaphore_; member in ThreadIdValidationThread
132 semaphore_(0), in JoinableThread()143 semaphore_.Wait(); in Join()157 joinable_thread_->semaphore_.Signal(); in Run()165 v8::base::Semaphore semaphore_; member in JoinableThread
6639 semaphore_(0), in SendCommandThread()6646 send_command_thread_->semaphore_.Signal(); in CountingAndSignallingMessageHandler()6651 semaphore_.Wait(); in Run()6668 semaphore_.Wait(); in Run()6676 void StartSending() { semaphore_.Signal(); } in StartSending()6679 v8::base::Semaphore semaphore_; member in SendCommandThread