Searched refs:LockWhen (Results 1 - 4 of 4) sorted by relevance

/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_));
H A Dtsan_unittest.cpp405 // test03: TN. Synchronization via LockWhen, signaller gets there first. {{{1
409 // Note that LockWhen() happens first (we use sleep(1) to make sure)!
418 // 3. MU.LockWhen(COND==1) <---/
436 MU.LockWhen(Condition(&ArgIsOne, &COND)); // calls ANNOTATE_CONDVAR_WAIT
588 // test07: TN. Synchronization via LockWhen(), Signaller is observed first. {{{1
593 // LockWhen() is observed after COND has been set (due to sleep).
603 // 3. MU.LockWhen(COND==1) <---/
620 MU.LockWhen(Condition(&ArgIsTrue, &COND)); // calls ANNOTATE_CONDVAR_WAIT
623 GLOB = 2; // If LockWhen didn't catch the signal, a race may be reported here.
830 // test13: FP. Synchronization via Mutex, then via LockWhen
[all...]
/external/clang/test/PCH/
H A Dthread-safety-attrs.cpp40 void LockWhen(const int &cond) __attribute__((exclusive_lock_function));
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp37 void LockWhen(const int &cond) __attribute__((exclusive_lock_function));

Completed in 143 milliseconds