Searched defs:LockWhen (Results 1 - 3 of 3) sorted by relevance

/external/valgrind/unittest/
H A Dthread_wrappers_win.h100 void LockWhen(Condition cond) { Lock(); WaitLoop(cond); } function in class:Mutex
H A Dthread_wrappers_pthread.h146 /// instead of pthread_mutex_t (only when not used with CondVar or LockWhen).
173 void LockWhen(Condition cond) { Lock(); WaitLoop(cond); } function in class:Mutex
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h158 /// Just a boolean condition. Used by Mutex::LockWhen and similar.
187 /// instead of pthread_mutex_t (only when not used with CondVar or LockWhen).
214 void LockWhen(Condition cond) { Lock(); WaitLoop(cond); } function in class:Mutex
386 ANNOTATE_CONDVAR_SIGNAL(&mu_); // LockWhen in Get()
394 mu_.LockWhen(Condition(IsQueueNotEmpty, &q_));
581 mu_.LockWhen(Condition(&IsZero, &count_));

Completed in 107 milliseconds