Home
last modified time | relevance | path

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

/external/valgrind/unittest/
Dthread_wrappers_pthread.h153 CHECK(0 == pthread_cond_init(&cv_, NULL)); in Mutex()
157 CHECK(0 == pthread_cond_destroy(&cv_)); in ~Mutex()
165 CHECK(0 == pthread_cond_signal(&cv_)); in Unlock()
189 pthread_cond_wait(&cv_, &mu_); in WaitLoop()
204 retcode = pthread_cond_timedwait(&cv_, &mu_, &timeout); in WaitLoopWithTimeout()
213 pthread_cond_t cv_; variable
220 CondVar() { CHECK(0 == pthread_cond_init(&cv_, NULL)); } in CondVar()
221 ~CondVar() { CHECK(0 == pthread_cond_destroy(&cv_)); } in ~CondVar()
222 void Wait(Mutex *mu) { CHECK(0 == pthread_cond_wait(&cv_, &mu->mu_)); } in Wait()
228 return 0 != pthread_cond_timedwait(&cv_, &mu->mu_, &timeout); in WaitWithTimeout()
[all …]
/external/valgrind/main/drd/tests/
Dtsan_thread_wrappers_pthread.h194 CHECK(0 == pthread_cond_init(&cv_, NULL)); in Mutex()
199 CHECK(0 == pthread_cond_destroy(&cv_)); in ~Mutex()
206 CHECK(0 == pthread_cond_signal(&cv_)); in Unlock()
230 pthread_cond_wait(&cv_, &mu_); in WaitLoop()
232 ANNOTATE_CONDVAR_LOCK_WAIT(&cv_, &mu_); in WaitLoop()
244 retcode = pthread_cond_timedwait(&cv_, &mu_, &timeout); in WaitLoopWithTimeout()
247 ANNOTATE_CONDVAR_LOCK_WAIT(&cv_, &mu_); in WaitLoopWithTimeout()
255 pthread_cond_t cv_; variable
278 CondVar() { CHECK(0 == pthread_cond_init(&cv_, NULL)); } in CondVar()
279 ~CondVar() { CHECK(0 == pthread_cond_destroy(&cv_)); } in ~CondVar()
[all …]
/external/chromium/base/synchronization/
Dwaitable_event_posix.cc88 cv_(&lock_) { in SyncWaiter()
100 cv_.Broadcast(); in Fire()
142 return &cv_; in cv()
149 base::ConditionVariable cv_; member in base::SyncWaiter
/external/chromium/net/base/
Dlisten_socket_unittest.cc27 cv_(&lock_) { in ListenSocketTester()
82 cv_.Broadcast(); in ReportAction()
88 cv_.Wait(); in NextAction()
Dlisten_socket_unittest.h110 base::ConditionVariable cv_; variable
/external/chromium/net/ocsp/
Dnss_ocsp.cc160 cv_(&lock_), in OCSPRequestSession()
205 cv_.TimedWait(timeout); in Wait()
297 cv_.Signal(); in OnReadCompleted()
321 cv_.Signal(); in CancelURLRequest()
405 base::ConditionVariable cv_; member in __anon3b4b4ea00111::OCSPRequestSession