Home
last modified time | relevance | path

Searched refs:pthread_cond_wait (Results 1 – 25 of 195) sorted by relevance

12345678

/external/ltp/testcases/realtime/stress/pi-tests/
Dlookup_pi_state.c88 pthread_cond_wait(&CS, &MS); // docs are contradictory on if this in slave_thread()
97 pthread_cond_wait(&CS, &MS); in slave_thread()
119 pthread_cond_wait(&CM, &MM); in master_thread()
/external/libcap/tests/
Dpsx_test.c57 pthread_cond_wait(&cond, &mu); in say_hello()
106 pthread_cond_wait(&cond, &mu); in main()
128 pthread_cond_wait(&cond, &mu); in main()
Dexploit.c74 pthread_cond_wait(&cond, &mu); in victim()
97 pthread_cond_wait(&cond, &mu); in main()
/external/compiler-rt/test/tsan/
Dcond.c21 pthread_cond_wait(&c, &m); in thr1()
35 pthread_cond_wait(&c, &m); in thr2()
Dcond_destruction.cc21 pthread_cond_wait(&c, &m); in thr()
33 pthread_cond_wait(&c, &m); in main()
Dbench_mutex.cc17 pthread_cond_wait(&cv, &mtx); in thread()
/external/llvm-project/compiler-rt/test/tsan/
Dcond_destruction.cpp21 pthread_cond_wait(&c, &m); in thr()
33 pthread_cond_wait(&c, &m); in main()
Dcond.c21 pthread_cond_wait(&c, &m); in thr1()
35 pthread_cond_wait(&c, &m); in thr2()
Dbench_mutex.cpp17 pthread_cond_wait(&cv, &mtx); in thread()
/external/linux-kselftest/tools/testing/selftests/membarrier/
Dmembarrier_test_multi_thread.c27 pthread_cond_wait(&test_membarrier_thread_cond, in test_membarrier_thread()
44 pthread_cond_wait(&test_membarrier_thread_cond, in test_mt_membarrier()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_posix.cc117 EXPECT_EQ(pthread_cond_wait(&ctx.c, &ctx.m), 0); in cond_thread()
138 EXPECT_EQ(pthread_cond_wait(&ctx.c, &ctx.m), 0); in TEST()
145 EXPECT_EQ(pthread_cond_wait(&ctx.c, &ctx.m), 0); in TEST()
/external/angle/util/android/third_party/
Dandroid_native_app_glue.c274 pthread_cond_wait(&android_app->cond, &android_app->mutex); in android_app_create()
292 pthread_cond_wait(&android_app->cond, &android_app->mutex); in android_app_set_input()
307 pthread_cond_wait(&android_app->cond, &android_app->mutex); in android_app_set_window()
316 pthread_cond_wait(&android_app->cond, &android_app->mutex); in android_app_set_activity_state()
325 pthread_cond_wait(&android_app->cond, &android_app->mutex); in android_app_free()
360 pthread_cond_wait(&android_app->cond, &android_app->mutex); in onSaveInstanceState()
/external/squashfs-tools/squashfs-tools/
Dcaches-queues-lists.c72 pthread_cond_wait(&queue->full, &queue->mutex); in queue_put()
89 pthread_cond_wait(&queue->empty, &queue->mutex); in queue_get()
224 pthread_cond_wait(&queue->wait, &queue->mutex); in seq_queue_get()
421 pthread_cond_wait(&cache->wait_for_free, &cache->mutex); in _cache_get()
618 pthread_cond_wait(&cache->wait_for_unlock, &cache->mutex); in cache_wait_unlock()
/external/llvm-project/lldb/tools/debugserver/source/
DPThreadEvent.cpp144 err = ::pthread_cond_wait(m_set_condition.Condition(), m_mutex.Mutex()); in WaitForSetEvents()
179 err = ::pthread_cond_wait(m_reset_condition.Condition(), m_mutex.Mutex()); in WaitForEventsToReset()
/external/mesa3d/src/gallium/frontends/nine/
Dthreadpool.c53 pthread_cond_wait(&pool->new_work, &pool->m); in threadpool_worker()
194 pthread_cond_wait(&task->finish, &pool->m); in _mesa_threadpool_wait_for_task()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dsync_posix.cc124 err = pthread_cond_wait(&cv->cond_var, &mu->mutex); in gpr_cv_wait()
126 err = pthread_cond_wait(cv, mu); in gpr_cv_wait()
/external/zstd/lib/common/
Dthreading.h96 #define ZSTD_pthread_cond_wait(a, b) pthread_cond_wait((a), (b))
121 #define ZSTD_pthread_cond_wait(a, b) pthread_cond_wait(*(a), *(b))
/external/stressapptest/src/
Dlogger.cc106 LOGGER_ASSERT(0 == pthread_cond_wait(&full_queue_cond_, in QueueLogLine()
143 LOGGER_ASSERT(0 == pthread_cond_wait(&queued_lines_cond_, in ThreadMain()
/external/webp/src/utils/
Dthread_utils.c178 static int pthread_cond_wait(pthread_cond_t* const condition, in pthread_cond_wait() function
211 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ThreadLoop()
242 pthread_cond_wait(&impl->condition_, &impl->mutex_); in ChangeState()
/external/ltp/testcases/kernel/fs/openfile/
Dopenfile.c162 if (pthread_cond_wait(&c.init_cv, &c.m)) { in main()
247 if (pthread_cond_wait(&c.thr_cv, &c.m)) { in threads()
/external/libabigail/src/
Dabg-workers.cc237 pthread_cond_wait(&tasks_done_cond, &tasks_todo_mutex); in do_bring_workers_down()
384 pthread_cond_wait(&p->tasks_todo_cond, &p->tasks_todo_mutex); in wait_to_execute_a_task()
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.c38 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in thread_loop()
64 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in change_state()
/external/libaom/libaom/aom_util/
Daom_thread.c69 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in thread_loop()
95 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in change_state()
/external/llvm-project/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cpp182 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { in INTERCEPTOR() argument
187 int res = REAL(pthread_cond_wait)(cond, m); in INTERCEPTOR()
316 INTERCEPT_FUNCTION_VER(pthread_cond_wait, "GLIBC_2.3.2"); in InitializeInterceptors()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc183 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { in INTERCEPTOR() argument
188 int res = REAL(pthread_cond_wait)(cond, m); in INTERCEPTOR()
318 INTERCEPT_FUNCTION_VER(pthread_cond_wait, "GLIBC_2.3.2"); in InitializeInterceptors()

12345678