Home
last modified time | relevance | path

Searched refs:semaphore_ (Results 1 – 6 of 6) sorted by relevance

/external/tesseract/viewer/
Dsvutil.cpp113 semaphore_ = CreateSemaphore(0, 0, 10, 0); in SVSemaphore()
115 sem_init(&semaphore_, 0, 0); in SVSemaphore()
121 ReleaseSemaphore(semaphore_, 1, NULL); in Signal()
123 sem_post(&semaphore_); in Signal()
129 WaitForSingleObject(semaphore_, INFINITE); in Wait()
131 sem_wait(&semaphore_); in Wait()
Dsvutil.h72 HANDLE semaphore_;
74 sem_t semaphore_;
Dscrollview.cpp289 semaphore_ = new SVSemaphore(); in Initialize()
310 sv->semaphore_->Wait(); in StartEventHandler()
347 delete semaphore_; in ~ScrollView()
382 semaphore_->Signal(); in Signal()
Dscrollview.h406 SVSemaphore* semaphore_; variable
/external/webkit/V8Binding/v8/src/
Dplatform-macos.cc461 semaphore_create(mach_task_self(), &semaphore_, SYNC_POLICY_FIFO, count); in MacOSSemaphore()
465 semaphore_destroy(mach_task_self(), semaphore_); in ~MacOSSemaphore()
471 void Wait() { semaphore_wait(semaphore_); } in Wait()
475 void Signal() { semaphore_signal(semaphore_); } in Signal()
478 semaphore_t semaphore_; member in v8::internal::MacOSSemaphore
486 return semaphore_timedwait(semaphore_, ts) != KERN_OPERATION_TIMED_OUT; in Wait()
/external/webkit/V8Binding/v8/test/cctest/
Dtest-log.cc297 semaphore_(v8::internal::OS::CreateSemaphore(0)), in LoopingThread()
301 virtual ~LoopingThread() { delete semaphore_; } in ~LoopingThread()
312 bool WaitForRunning() { return semaphore_->Wait(1000000); } in WaitForRunning()
323 void SignalRunning() { semaphore_->Signal(); } in SignalRunning()
326 v8::internal::Semaphore* semaphore_; member in __anon63efc7030111::LoopingThread
377 semaphore_(v8::internal::OS::CreateSemaphore(0)), in TestSampler()
381 ~TestSampler() { delete semaphore_; } in ~TestSampler()
387 void Tick(v8::internal::TickSample*) { semaphore_->Signal(); } in Tick()
389 bool WaitForTick() { return semaphore_->Wait(1000000); } in WaitForTick()
396 v8::internal::Semaphore* semaphore_; member in __anon63efc7030111::TestSampler