/third_party/ltp/testcases/realtime/stress/pi-tests/ |
H A D | lookup_pi_state.c | 88 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()
|
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_cond_wait-cancel_ignored.c | 2 // pthread_cond_wait should act on cancellation arriving after unlocking mutex 27 while (waiting) pthread_cond_wait(&cv, &mx); in waiter() 39 while (!waiting) pthread_cond_wait(&cv, &mx); in main() 52 t_error("pthread_cond_wait did not act on cancellation\n"); in main()
|
/third_party/skia/third_party/externals/angle2/util/android/third_party/ |
H A D | android_native_app_glue.c | 274 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()
|
/third_party/selinux/libselinux/src/ |
H A D | selinux_internal.h | 84 #pragma weak pthread_cond_wait macro 93 pthread_cond_wait \
|
/third_party/ffmpeg/libavutil/ |
H A D | slicethread.c | 80 pthread_cond_wait(&w->cond, &w->mutex); in thread_worker() 159 pthread_cond_wait(&w->cond, &w->mutex); in avpriv_slicethread_create() 195 pthread_cond_wait(&ctx->done_cond, &ctx->done_mutex); in avpriv_slicethread_execute()
|
H A D | thread.h | 116 ASSERT_PTHREAD(pthread_cond_wait, cond, mutex); in strict_pthread_cond_wait() 142 #define pthread_cond_wait strict_pthread_cond_wait macro
|
H A D | threadmessage.c | 129 pthread_cond_wait(&mq->cond_send, &mq->lock); in av_thread_message_queue_send_locked() 146 pthread_cond_wait(&mq->cond_recv, &mq->lock); in av_thread_message_queue_recv_locked()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | threadpool.c | 53 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()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | thread_utils.c | 167 // a thread is waiting in pthread_cond_wait: allow it to be notified in pthread_cond_signal() 170 // the event via its own pthread_cond_wait. in pthread_cond_signal() 178 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()
|
/third_party/ltp/testcases/kernel/fs/openfile/ |
H A D | openfile.c | 162 if (pthread_cond_wait(&c.init_cv, &c.m)) { in main() 247 if (pthread_cond_wait(&c.thr_cv, &c.m)) { in threads()
|
/third_party/musl/libc-test/src/functional/ |
H A D | pthread_cond.c | 26 while (*x) pthread_cond_wait(c, m); in start_wait() 46 TEST(r, pthread_cond_wait(&cond, &mtx), ""); in main()
|
/third_party/libabigail/src/ |
H A D | abg-workers.cc | 237 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()
|
/third_party/musl/src/thread/ |
H A D | pthread_cond_wait.c | 3 int pthread_cond_wait(pthread_cond_t *restrict c, pthread_mutex_t *restrict m) in pthread_cond_wait() function
|
/third_party/ffmpeg/libavcodec/ |
H A D | pthread_frame.c | 167 pthread_cond_wait(&fctx->async_cond, &fctx->async_mutex); in async_lock() 197 pthread_cond_wait(&p->input_cond, &p->mutex); in frame_worker_thread() 452 pthread_cond_wait(&prev_thread->progress_cond, &prev_thread->progress_mutex); in submit_packet() 496 pthread_cond_wait(&p->progress_cond, &p->progress_mutex); in submit_packet() 575 pthread_cond_wait(&p->output_cond, &p->progress_mutex); in ff_thread_decode_frame() 650 pthread_cond_wait(&p->progress_cond, &p->progress_mutex); in ff_thread_await_progress() 704 pthread_cond_wait(&p->output_cond, &p->progress_mutex); in park_frame_worker_threads() 1009 pthread_cond_wait(&p->progress_cond, &p->progress_mutex); in thread_get_buffer_internal() 1047 pthread_cond_wait(&p->progress_cond, &p->progress_mutex); in ff_thread_get_format()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_cond_wait.c | 29 pthread_cond_wait(&cond, &mutex); in threadfunc1() 40 t_error("pthread_cond_wait_0100 pthread_cond_wait error get flag is %d are not want 1\n", flag); in threadfunc2()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 2-5.c | 98 ret = pthread_cond_wait(&(data.cnd), &(data.mtx1)); in threaded() 133 ret = pthread_cond_wait(&(data.cnd), &(data.mtx2)); in threaded()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/speculative/ |
H A D | 4-1.c | 40 rc = pthread_cond_wait(&cond, &mutex); in thread() 42 perror("child: pthread_cond_wait"); in thread()
|
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | safe_queue.c | 33 #define dnn_cond_wait pthread_cond_wait
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
H A D | 2-1.c | 8 * Test that pthread_cond_wait() 51 rc = pthread_cond_wait(&td.cond, &td.mutex); in t1_func() 53 fprintf(stderr, "pthread_cond_wait return %d\n", rc); in t1_func() 101 /* acquire the mutex released by pthread_cond_wait() within thread 1 */ in main()
|
H A D | 3-1.c | 8 * Test that pthread_cond_wait() 50 rc = pthread_cond_wait(&td.cond, &td.mutex); in t1_func() 53 fprintf(stderr, "pthread_cond_wait returns EINVAL\n"); in t1_func() 56 fprintf(stderr, "pthread_cond_wait returns EPERM\n"); in t1_func() 59 fprintf(stderr, "pthread_cond_wait returns %d\n", rc); in t1_func()
|
H A D | 1-1.c | 8 * Test that pthread_cond_wait() 51 rc = pthread_cond_wait(&td.cond, &td.mutex); in t1_func() 53 fprintf(stderr, "pthread_cond_wait return %d\n", rc); in t1_func() 88 /* acquire the mutex released by pthread_cond_wait() within thread 1 */ in main()
|
/third_party/ltp/testcases/realtime/func/async_handler/ |
H A D | async_handler_jk.c | 93 pthread_cond_wait(&thread->cond, &thread->mutex); in async_event_server()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | 1-1.c | 46 rc = pthread_cond_wait(&td.cond, &td.mutex); in thr_func() 48 fprintf(stderr, "pthread_cond_wait return %d\n", rc); in thr_func() 91 * blocked on pthread_cond_wait in main()
|
/third_party/mesa3d/src/util/ |
H A D | cnd_monotonic.h | 141 return (pthread_cond_wait(&cond->cond, mtx) == 0) ? thrd_success : thrd_error; in u_cnd_monotonic_wait()
|
/third_party/python/Python/ |
H A D | thread_pthread_stubs.h | 49 pthread_cond_wait(pthread_cond_t *restrict cond, in pthread_cond_wait() function
|