semaphore_ 685 src/platform-macos.cc semaphore_create(mach_task_self(), &semaphore_, SYNC_POLICY_FIFO, count); semaphore_ 689 src/platform-macos.cc semaphore_destroy(mach_task_self(), semaphore_); semaphore_ 695 src/platform-macos.cc void Wait() { semaphore_wait(semaphore_); } semaphore_ 699 src/platform-macos.cc void Signal() { semaphore_signal(semaphore_); } semaphore_ 702 src/platform-macos.cc semaphore_t semaphore_; semaphore_ 710 src/platform-macos.cc return semaphore_timedwait(semaphore_, ts) != KERN_OPERATION_TIMED_OUT; semaphore_ 128 test/cctest/test-lockers.cc semaphore_(i::OS::CreateSemaphore(0)), semaphore_ 133 test/cctest/test-lockers.cc delete semaphore_; semaphore_ 141 test/cctest/test-lockers.cc semaphore_->Wait(); semaphore_ 156 test/cctest/test-lockers.cc joinable_thread_->semaphore_->Signal(); semaphore_ 164 test/cctest/test-lockers.cc i::Semaphore* semaphore_; semaphore_ 171 test/cctest/test-log.cc semaphore_(v8::internal::OS::CreateSemaphore(0)), semaphore_ 175 test/cctest/test-log.cc virtual ~LoopingThread() { delete semaphore_; } semaphore_ 186 test/cctest/test-log.cc bool WaitForRunning() { return semaphore_->Wait(1000000); } semaphore_ 197 test/cctest/test-log.cc void SignalRunning() { semaphore_->Signal(); } semaphore_ 200 test/cctest/test-log.cc v8::internal::Semaphore* semaphore_; semaphore_ 257 test/cctest/test-log.cc semaphore_(v8::internal::OS::CreateSemaphore(0)), semaphore_ 261 test/cctest/test-log.cc ~TestSampler() { delete semaphore_; } semaphore_ 267 test/cctest/test-log.cc void Tick(v8::internal::TickSample*) { semaphore_->Signal(); } semaphore_ 269 test/cctest/test-log.cc bool WaitForTick() { return semaphore_->Wait(1000000); } semaphore_ 276 test/cctest/test-log.cc v8::internal::Semaphore* semaphore_; semaphore_ 162 test/cctest/test-threads.cc semaphore_->Signal(); semaphore_ 169 test/cctest/test-threads.cc i::Semaphore* semaphore_;