| /freebsd-12.1/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() 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() 583 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY() [all …]
|
| H A D | t_preempt.c | 106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/ntp/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-12.1/usr.bin/mkuzip/ |
| H A D | mkuz_fqueue.c | 128 pthread_cond_wait(&fqp->cvar, &fqp->mtx); in mkuz_fqueue_deq_when() 173 pthread_cond_wait(&fqp->cvar, &fqp->mtx); in mkuz_fqueue_deq() 202 pthread_cond_wait(&fqp->cvar, &fqp->mtx); in mkuz_fqueue_deq_all()
|
| /freebsd-12.1/cddl/compat/opensolaris/misc/ |
| H A D | thread_pool.c | 137 (void) pthread_cond_wait(&tpool->tp_workcv, in tpool_worker() 321 (void) pthread_cond_wait(&tpool->tp_waitcv, &tpool->tp_mutex); in tpool_destroy() 326 (void) pthread_cond_wait(&tpool->tp_busycv, &tpool->tp_mutex); in tpool_destroy() 366 (void) pthread_cond_wait(&tpool->tp_waitcv, &tpool->tp_mutex); in tpool_wait()
|
| /freebsd-12.1/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() 931 pthread_cond_wait(&wq.wq_alldone_cv, &wq.wq_queue_lock); in main()
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | mevent_test.c | 149 while (!pthread_cond_wait(&sync.e_cond, &sync.e_mt)) { in echoer() 226 while (!pthread_cond_wait(&accept_condvar, &accept_mutex)) { in acceptor()
|
| H A D | pci_virtio_net.c | 326 error = pthread_cond_wait(&sc->tx_cond, &sc->tx_mtx); in pci_vtnet_tx_thread() 337 error = pthread_cond_wait(&sc->tx_cond, &sc->tx_mtx); in pci_vtnet_tx_thread()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | gthr-posix.h | 117 __gthrw3(pthread_cond_wait) 126 __gthrw(pthread_cond_wait) 546 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend, in __gthread_objc_condition_wait()
|
| H A D | gthr-posix95.h | 91 __gthrw(pthread_cond_wait) 512 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend, in __gthread_objc_condition_wait()
|
| H A D | gthr-posix.c | 147 pthread_cond_wait (pthread_cond_t *cond ATTRIBUTE_UNUSED, in pthread_cond_wait() function
|
| /freebsd-12.1/contrib/compiler-rt/lib/tsan/dd/ |
| H A D | dd_interceptors.cc | 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() 317 INTERCEPT_FUNCTION_VER(pthread_cond_wait, "GLIBC_2.3.2"); in InitializeInterceptors()
|
| /freebsd-12.1/tools/regression/pthread/unwind/ |
| H A D | cond_wait_cancel.cpp | 20 pthread_cond_wait(&cv, &mtx); in thr()
|
| H A D | cond_wait_cancel2.cpp | 24 pthread_cond_wait(&cv, &mtx); in f()
|
| /freebsd-12.1/lib/libstdthreads/ |
| H A D | cnd.c | 97 if (pthread_cond_wait(cond, mtx) != 0) in cnd_wait()
|
| /freebsd-12.1/tools/regression/pthread/cv_cancel1/ |
| H A D | cv_cancel1.c | 46 pthread_cond_wait(&cv, &m); in thr_routine()
|
| /freebsd-12.1/contrib/libcxxrt/ |
| H A D | exception.cc | 55 #pragma weak pthread_cond_wait macro 56 #define pthread_cond_wait(cv, mtx) do {\ macro 57 if (pthread_cond_wait) pthread_cond_wait(cv, mtx);\ 496 pthread_cond_wait(&emergency_malloc_wait, &emergency_malloc_lock); in emergency_malloc()
|
| /freebsd-12.1/contrib/gcclibs/libgomp/config/posix/ |
| H A D | sem.c | 73 ret = pthread_cond_wait (&sem->cond, &sem->mutex); in gomp_sem_wait()
|
| /freebsd-12.1/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()
|
| /freebsd-12.1/contrib/netbsd-tests/rump/rumpkern/h_client/ |
| H A D | h_reconcli.c | 28 pthread_cond_wait(&closercv, &closermtx); in closer()
|
| /freebsd-12.1/contrib/apr/locks/unix/ |
| H A D | thread_cond.c | 68 rv = pthread_cond_wait(&cond->cond, &mutex->mutex); in apr_thread_cond_wait()
|
| /freebsd-12.1/cddl/contrib/opensolaris/head/ |
| H A D | thread.h | 65 #define cond_wait(l,m) pthread_cond_wait(l,m)
|
| /freebsd-12.1/contrib/sendmail/libmilter/ |
| H A D | monitor.c | 126 r = pthread_cond_wait(&Mon_cv, &Mon_mutex);
|
| /freebsd-12.1/contrib/libevent/ |
| H A D | evthread_pthread.c | 158 r = pthread_cond_wait(cond, lock); in evthread_posix_cond_wait()
|