Home
last modified time | relevance | path

Searched refs:condvar (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 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, &notification, &state); in RunTests()
88 std::thread thread_two(ThreadTwo, mutex, condvar, &notification, &state); in RunTests()
95 absl::CondVar condvar; in TestLocals() local
[all …]
/third_party/abseil-cpp/absl/synchronization/
Dlifetime_test.cc41 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, &notification, &state); in RunTests()
88 std::thread thread_two(ThreadTwo, mutex, condvar, &notification, &state); in RunTests()
95 absl::CondVar condvar; in TestLocals() local
[all …]
/third_party/mesa3d/src/util/
Dcnd_monotonic.h41 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()
Du_thread.h312 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/
Dtest-mutexes.c28 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/
Dcondvar.h42 extern int cv_timedwait(struct cv *condvar, struct mtx *mtx, int tw_ms);
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/
DREADME12 condvar - Test cases by Abhijeet Bisain. Testing pthread_cond_wait()
/third_party/ltp/testcases/open_posix_testsuite/
DChangeLog32 - functional/threads/condvar/, README:
/third_party/libuv/
DMakefile.am157 test/test-condvar.c \
DCMakeLists.txt465 test/test-condvar.c
DChangeLog1683 * test: make test-condvar call uv_cond_wait (Jamie Davis)
/third_party/python/
DMakefile.pre.in994 $(srcdir)/Python/condvar.h
2013 Python/thread.o: @THREADHEADERS@ $(srcdir)/Python/condvar.h