/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_cond.c | 96 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY() 157 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY() 216 PTHREAD_REQUIRE(pthread_cond_wait(&static_cond, &static_mutex)); in ATF_TC_BODY() 243 PTHREAD_REQUIRE(pthread_cond_wait(&static_cond, in signal_wait_race_threadfunc() 282 PTHREAD_REQUIRE(pthread_cond_wait(&static_cond, in ATF_TC_BODY() 372 PTHREAD_REQUIRE(pthread_cond_wait(&static_cond, in broadcast_threadfunc() 412 PTHREAD_REQUIRE(pthread_cond_wait(&static_cond, in ATF_TC_BODY() 504 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in destroy_busy_threadfunc() 528 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY() 557 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in destroy_after_cancel_threadfunc() [all …]
|
H A D | t_preempt.c | 106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY()
|
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/include/isc/ |
H A D | condition.h | 38 ((pthread_cond_wait((cp), &((mp)->mutex)) == 0) ? \ 42 ((pthread_cond_wait((cp), (mp)) == 0) ? \
|
/freebsd/usr.bin/mkuzip/ |
H A D | mkuz_fqueue.c | 126 pthread_cond_wait(&fqp->cvar, &fqp->mtx); in mkuz_fqueue_deq_when() 171 pthread_cond_wait(&fqp->cvar, &fqp->mtx); in mkuz_fqueue_deq() 200 pthread_cond_wait(&fqp->cvar, &fqp->mtx); in mkuz_fqueue_deq_all()
|
/freebsd/tools/test/stress2/misc/ |
H A D | pthread.sh | 83 pthread_cond_wait(&worker_go, &worker_mtx); 131 pthread_cond_wait(&worker_done, &worker_mtx);
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfmerge.c | 367 pthread_cond_wait(&slot->wip_cv, &wq->wq_donequeue_lock); in wip_save_work() 418 pthread_cond_wait(&wq->wq_work_avail, in worker_runphase1() 472 pthread_cond_wait(&wq->wq_work_avail, in worker_runphase2() 498 pthread_cond_wait(&wq->wq_done_cv, in worker_runphase2() 560 pthread_cond_wait(&wq->wq_work_removed, &wq->wq_queue_lock); in merge_ctf_cb() 926 pthread_cond_wait(&wq.wq_alldone_cv, &wq.wq_queue_lock); in main()
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | threading.h | 96 #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))
|
/freebsd/usr.sbin/bhyve/ |
H A D | mevent_test.c | 145 while (!pthread_cond_wait(&sync.e_cond, &sync.e_mt)) { in echoer() 222 while (!pthread_cond_wait(&accept_condvar, &accept_mutex)) { in acceptor()
|
/freebsd/sys/contrib/openzfs/lib/libtpool/ |
H A D | thread_pool.c | 150 (void) pthread_cond_wait(&tpool->tp_workcv, in tpool_worker() 493 (void) pthread_cond_wait(&tpool->tp_waitcv, &tpool->tp_mutex); in tpool_destroy() 498 (void) pthread_cond_wait(&tpool->tp_busycv, &tpool->tp_mutex); in tpool_destroy() 541 (void) pthread_cond_wait(&tpool->tp_waitcv, &tpool->tp_mutex); in tpool_wait()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 183 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()
|
/freebsd/tools/regression/pthread/unwind/ |
H A D | cond_wait_cancel.cpp | 19 pthread_cond_wait(&cv, &mtx); in thr()
|
H A D | cond_wait_cancel2.cpp | 23 pthread_cond_wait(&cv, &mtx); in f()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/ |
H A D | rtsan_interceptors.cpp | 218 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *cond, in INTERCEPTOR() argument 221 return REAL(pthread_cond_wait)(cond, mutex); in INTERCEPTOR() 424 INTERCEPT_FUNCTION(pthread_cond_wait); in InitializeInterceptors()
|
/freebsd/lib/libstdthreads/ |
H A D | cnd.c | 93 if (pthread_cond_wait(cond, mtx) != 0) in cnd_wait()
|
/freebsd/tools/regression/pthread/cv_cancel1/ |
H A D | cv_cancel1.c | 44 pthread_cond_wait(&cv, &m); in thr_routine()
|
/freebsd/contrib/lib9p/ |
H A D | threadpool.c | 53 pthread_cond_wait(&tp->ltp_reply_cv, &tp->ltp_mtx); in l9p_responder() 89 pthread_cond_wait(&tp->ltp_work_cv, &tp->ltp_mtx); in l9p_worker()
|
/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_timer.c | 142 ret = pthread_cond_wait(&gp_timer_prov->cond, in __cl_timer_prov_cb() 364 pthread_cond_wait(&p_timer->cond, &gp_timer_prov->mutex); in cl_timer_stop()
|
H A D | cl_threadpool.c | 64 pthread_cond_wait(&p_thread_pool->cond, in thread_pool_routine()
|
H A D | cl_event.c | 143 if (pthread_cond_wait(&p_event->condvar, &p_event->mutex)) in cl_event_wait_on()
|
/freebsd/contrib/libcxxrt/ |
H A D | exception.cc | 56 #pragma weak pthread_cond_wait macro 57 #define pthread_cond_wait(cv, mtx) do {\ macro 58 if (pthread_cond_wait) pthread_cond_wait(cv, mtx);\ 593 pthread_cond_wait(&emergency_malloc_wait, &emergency_malloc_lock); in emergency_malloc()
|
/freebsd/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_reconcli.c | 28 pthread_cond_wait(&closercv, &closermtx); in closer()
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | monitor.c | 126 r = pthread_cond_wait(&Mon_cv, &Mon_mutex);
|
/freebsd/cddl/contrib/opensolaris/head/ |
H A D | thread.h | 65 #define cond_wait(l,m) pthread_cond_wait(l,m)
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | evthread_pthread.c | 158 r = pthread_cond_wait(cond, lock); in evthread_posix_cond_wait()
|
/freebsd/contrib/libevent/ |
H A D | evthread_pthread.c | 158 r = pthread_cond_wait(cond, lock); in evthread_posix_cond_wait()
|