Searched refs:condvar (Results 1 – 12 of 12) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | lifetime_test.cc | 41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne() argument 54 condvar->Wait(mutex); in ThreadOne() 59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo() argument 69 condvar->Signal(); in ThreadTwo() 76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests() argument 83 if (!condvar) { in RunTests() 84 condvar = &default_condvar; in RunTests() 87 std::thread thread_one(ThreadOne, mutex, condvar, ¬ification, &state); in RunTests() 88 std::thread thread_two(ThreadTwo, mutex, condvar, ¬ification, &state); in RunTests() 95 absl::CondVar condvar; in TestLocals() local [all …]
|
/third_party/abseil-cpp/absl/synchronization/ |
D | lifetime_test.cc | 41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne() argument 54 condvar->Wait(mutex); in ThreadOne() 59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo() argument 69 condvar->Signal(); in ThreadTwo() 76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests() argument 83 if (!condvar) { in RunTests() 84 condvar = &default_condvar; in RunTests() 87 std::thread thread_one(ThreadOne, mutex, condvar, ¬ification, &state); in RunTests() 88 std::thread thread_two(ThreadTwo, mutex, condvar, ¬ification, &state); in RunTests() 95 absl::CondVar condvar; in TestLocals() local [all …]
|
/third_party/mesa3d/src/util/ |
D | cnd_monotonic.h | 41 CONDITION_VARIABLE condvar; member 53 InitializeConditionVariable(&cond->condvar); in u_cnd_monotonic_init() 89 WakeAllConditionVariable(&cond->condvar); in u_cnd_monotonic_broadcast() 102 WakeConditionVariable(&cond->condvar); in u_cnd_monotonic_signal() 120 if (SleepConditionVariableCS(&cond->condvar, mtx, timeout)) in u_cnd_monotonic_timedwait() 138 SleepConditionVariableCS(&cond->condvar, mtx, INFINITE); in u_cnd_monotonic_wait()
|
D | u_thread.h | 312 cnd_t condvar; member 321 cnd_init(&barrier->condvar); in util_barrier_init() 328 cnd_destroy(&barrier->condvar); in util_barrier_destroy() 342 cnd_wait(&barrier->condvar, &barrier->mutex); in util_barrier_wait() 347 cnd_broadcast(&barrier->condvar); in util_barrier_wait()
|
/third_party/libuv/test/ |
D | test-mutexes.c | 28 static uv_cond_t condvar; variable 93 uv_cond_signal(&condvar); in synchronize_nowait() 103 for (current = step; current == step; uv_cond_wait(&condvar, &mutex)); in synchronize() 142 ASSERT(0 == uv_cond_init(&condvar)); in TEST_IMPL() 179 uv_cond_destroy(&condvar); in TEST_IMPL()
|
/third_party/FreeBSD/sys/sys/ |
D | condvar.h | 42 extern int cv_timedwait(struct cv *condvar, struct mtx *mtx, int tw_ms);
|
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/ |
D | README | 12 condvar - Test cases by Abhijeet Bisain. Testing pthread_cond_wait()
|
/third_party/ltp/testcases/open_posix_testsuite/ |
D | ChangeLog | 32 - functional/threads/condvar/, README:
|
/third_party/libuv/ |
D | Makefile.am | 157 test/test-condvar.c \
|
D | CMakeLists.txt | 465 test/test-condvar.c
|
D | ChangeLog | 1683 * test: make test-condvar call uv_cond_wait (Jamie Davis)
|
/third_party/python/ |
D | Makefile.pre.in | 994 $(srcdir)/Python/condvar.h 2013 Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h
|