Home
last modified time | relevance | path

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

12345

/freebsd/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()
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 Dt_preempt.c106 PTHREAD_REQUIRE(pthread_cond_wait(&cond, &mutex)); in ATF_TC_BODY()
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/include/isc/
H A Dcondition.h38 ((pthread_cond_wait((cp), &((mp)->mutex)) == 0) ? \
42 ((pthread_cond_wait((cp), (mp)) == 0) ? \
/freebsd/usr.bin/mkuzip/
H A Dmkuz_fqueue.c126 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 Dpthread.sh83 pthread_cond_wait(&worker_go, &worker_mtx);
131 pthread_cond_wait(&worker_done, &worker_mtx);
/freebsd/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()
926 pthread_cond_wait(&wq.wq_alldone_cv, &wq.wq_queue_lock); in main()
/freebsd/sys/contrib/zstd/lib/common/
H A 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))
/freebsd/usr.sbin/bhyve/
H A Dmevent_test.c145 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 Dthread_pool.c150 (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 Ddd_interceptors.cpp183 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 Dcond_wait_cancel.cpp19 pthread_cond_wait(&cv, &mtx); in thr()
H A Dcond_wait_cancel2.cpp23 pthread_cond_wait(&cv, &mtx); in f()
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_interceptors.cpp218 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 Dcnd.c93 if (pthread_cond_wait(cond, mtx) != 0) in cnd_wait()
/freebsd/tools/regression/pthread/cv_cancel1/
H A Dcv_cancel1.c44 pthread_cond_wait(&cv, &m); in thr_routine()
/freebsd/contrib/lib9p/
H A Dthreadpool.c53 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 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()
H A Dcl_event.c143 if (pthread_cond_wait(&p_event->condvar, &p_event->mutex)) in cl_event_wait_on()
/freebsd/contrib/libcxxrt/
H A Dexception.cc56 #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 Dh_reconcli.c28 pthread_cond_wait(&closercv, &closermtx); in closer()
/freebsd/contrib/sendmail/libmilter/
H A Dmonitor.c126 r = pthread_cond_wait(&Mon_cv, &Mon_mutex);
/freebsd/cddl/contrib/opensolaris/head/
H A Dthread.h65 #define cond_wait(l,m) pthread_cond_wait(l,m)
/freebsd/contrib/ntp/sntp/libevent/
H A Devthread_pthread.c158 r = pthread_cond_wait(cond, lock); in evthread_posix_cond_wait()
/freebsd/contrib/libevent/
H A Devthread_pthread.c158 r = pthread_cond_wait(cond, lock); in evthread_posix_cond_wait()

12345