HomeSort by relevance Sort by last modified time
    Searched refs:LockWhen (Results 1 - 4 of 4) sorted by null

  /external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h 158 /// 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); }
386 ANNOTATE_CONDVAR_SIGNAL(&mu_); // LockWhen in Get()
394 mu_.LockWhen(Condition(IsQueueNotEmpty, &q_));
581 mu_.LockWhen(Condition(&IsZero, &count_));
tsan_unittest.cpp 405 // 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/
thread-safety-attrs.cpp 40 void LockWhen(const int &cond) __attribute__((exclusive_lock_function));
  /external/clang/test/SemaCXX/
warn-thread-safety-analysis.cpp 37 void LockWhen(const int &cond) __attribute__((exclusive_lock_function));
    [all...]

Completed in 201 milliseconds