Searched refs:semaphore_ (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/debugger/ |
D | devtools_remote_listen_socket_unittest.cc | 74 : semaphore_(NULL), in DevToolsRemoteListenSocketTester() 86 semaphore_ = CreateSemaphore(NULL, 0, kMaxQueueSize, NULL); in SetUp() 92 semaphore_ = sem_open(kSemaphoreName, O_CREAT, 0, 0); in SetUp() 93 ASSERT_NE(SEM_FAILED, semaphore_); in SetUp() 143 CloseHandle(semaphore_); in TearDown() 144 semaphore_ = 0; in TearDown() 148 semaphore_ = NULL; in TearDown() 164 ReleaseSemaphore(semaphore_, 1, NULL); in ReportAction() 169 ASSERT_EQ(0, sem_post(semaphore_)); in ReportAction() 175 DWORD ret = ::WaitForSingleObject(semaphore_, timeout); in NextAction() [all …]
|
D | devtools_remote_listen_socket_unittest.h | 107 HANDLE semaphore_; variable 110 sem_t* semaphore_; variable
|
/external/v8/test/cctest/ |
D | test-log.cc | 171 semaphore_(v8::internal::OS::CreateSemaphore(0)), 175 virtual ~LoopingThread() { delete semaphore_; } 186 bool WaitForRunning() { return semaphore_->Wait(1000000); } 197 void SignalRunning() { semaphore_->Signal(); } 200 v8::internal::Semaphore* semaphore_; 257 semaphore_(v8::internal::OS::CreateSemaphore(0)), 261 ~TestSampler() { delete semaphore_; } 267 void Tick(v8::internal::TickSample*) { semaphore_->Signal(); } 269 bool WaitForTick() { return semaphore_->Wait(1000000); } 276 v8::internal::Semaphore* semaphore_;
|
D | test-threads.cc | 149 semaphore_(semaphore) { in ThreadIdValidationThread() 162 semaphore_->Signal(); in Run() 169 i::Semaphore* semaphore_; member in ThreadIdValidationThread
|
D | test-lockers.cc | 128 semaphore_(i::OS::CreateSemaphore(0)), in JoinableThread() 133 delete semaphore_; in ~JoinableThread() 141 semaphore_->Wait(); in Join() 156 joinable_thread_->semaphore_->Signal(); in Run() 164 i::Semaphore* semaphore_; member in JoinableThread
|
/external/v8/src/ |
D | platform-macos.cc | 695 semaphore_create(mach_task_self(), &semaphore_, SYNC_POLICY_FIFO, count); in MacOSSemaphore() 699 semaphore_destroy(mach_task_self(), semaphore_); in ~MacOSSemaphore() 705 void Wait() { semaphore_wait(semaphore_); } in Wait() 709 void Signal() { semaphore_signal(semaphore_); } in Signal() 712 semaphore_t semaphore_; member in v8::internal::MacOSSemaphore 720 return semaphore_timedwait(semaphore_, ts) != KERN_OPERATION_TIMED_OUT; in Wait()
|