Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_cond.c96 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 Dt_preempt.c106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY()
/freebsd-12.1/contrib/ntp/lib/isc/pthreads/include/isc/
H A Dcondition.h38 ((pthread_cond_wait((cp), &((mp)->mutex)) == 0) ? \
42 ((pthread_cond_wait((cp), (mp)) == 0) ? \
/freebsd-12.1/usr.bin/mkuzip/
H A Dmkuz_fqueue.c128 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 Dthread_pool.c137 (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 Dctfmerge.c367 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 Dmevent_test.c149 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 Dpci_virtio_net.c326 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 Dgthr-posix.h117 __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 Dgthr-posix95.h91 __gthrw(pthread_cond_wait)
512 return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend, in __gthread_objc_condition_wait()
H A Dgthr-posix.c147 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 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()
317 INTERCEPT_FUNCTION_VER(pthread_cond_wait, "GLIBC_2.3.2"); in InitializeInterceptors()
/freebsd-12.1/tools/regression/pthread/unwind/
H A Dcond_wait_cancel.cpp20 pthread_cond_wait(&cv, &mtx); in thr()
H A Dcond_wait_cancel2.cpp24 pthread_cond_wait(&cv, &mtx); in f()
/freebsd-12.1/lib/libstdthreads/
H A Dcnd.c97 if (pthread_cond_wait(cond, mtx) != 0) in cnd_wait()
/freebsd-12.1/tools/regression/pthread/cv_cancel1/
H A Dcv_cancel1.c46 pthread_cond_wait(&cv, &m); in thr_routine()
/freebsd-12.1/contrib/libcxxrt/
H A Dexception.cc55 #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 Dsem.c73 ret = pthread_cond_wait (&sem->cond, &sem->mutex); in gomp_sem_wait()
/freebsd-12.1/contrib/ofed/opensm/complib/
H A Dcl_timer.c142 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 Dcl_threadpool.c64 pthread_cond_wait(&p_thread_pool->cond, in thread_pool_routine()
/freebsd-12.1/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_reconcli.c28 pthread_cond_wait(&closercv, &closermtx); in closer()
/freebsd-12.1/contrib/apr/locks/unix/
H A Dthread_cond.c68 rv = pthread_cond_wait(&cond->cond, &mutex->mutex); in apr_thread_cond_wait()
/freebsd-12.1/cddl/contrib/opensolaris/head/
H A Dthread.h65 #define cond_wait(l,m) pthread_cond_wait(l,m)
/freebsd-12.1/contrib/sendmail/libmilter/
H A Dmonitor.c126 r = pthread_cond_wait(&Mon_cv, &Mon_mutex);
/freebsd-12.1/contrib/libevent/
H A Devthread_pthread.c158 r = pthread_cond_wait(cond, lock); in evthread_posix_cond_wait()

123