| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/dd/ |
| H A D | dd_interceptors.cpp | 162 static pthread_cond_t *init_cond(pthread_cond_t *c, bool force = false) { in init_cond() 166 return (pthread_cond_t*)cond; in init_cond() 168 internal_memset(newcond, 0, sizeof(pthread_cond_t)); in init_cond() 171 return (pthread_cond_t*)newcond; in init_cond() 173 return (pthread_cond_t*)cond; in init_cond() 179 pthread_cond_t *cond = init_cond(c, true); in INTERCEPTOR() 185 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() 196 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() 206 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() 212 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() [all …]
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_cond.c | 57 static int cond_signal_common(pthread_cond_t *cond); 58 static int cond_broadcast_common(pthread_cond_t *cond); 122 init_static(struct pthread *thread, pthread_cond_t *cond) in init_static() 156 _thr_cond_init(pthread_cond_t * __restrict cond, in _thr_cond_init() 165 _thr_cond_destroy(pthread_cond_t *cond) in _thr_cond_destroy() 391 __thr_cond_wait(pthread_cond_t * __restrict cond, in __thr_cond_wait() 399 _thr_cond_timedwait(pthread_cond_t * __restrict cond, in _thr_cond_timedwait() 424 cond_signal_common(pthread_cond_t *cond) in cond_signal_common() 510 cond_broadcast_common(pthread_cond_t *cond) in cond_broadcast_common() 548 _thr_cond_signal(pthread_cond_t * cond) in _thr_cond_signal() [all …]
|
| H A D | thr_private.h | 1064 int _thr_cond_init(pthread_cond_t * __restrict, 1066 int _thr_cond_destroy(pthread_cond_t *); 1067 int _thr_cond_timedwait(pthread_cond_t * __restrict, 1069 int _thr_cond_signal(pthread_cond_t * cond); 1070 int _thr_cond_broadcast(pthread_cond_t * cond); 1071 int __thr_cond_wait(pthread_cond_t *, pthread_mutex_t *); 1072 int _thr_cond_wait(pthread_cond_t *, pthread_mutex_t *);
|
| /freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | ctfmerge.h | 47 pthread_cond_t wip_cv; 65 pthread_cond_t wq_work_avail; 66 pthread_cond_t wq_work_removed; 73 pthread_cond_t wq_done_cv; 75 pthread_cond_t wq_alldone_cv; /* protected by queue_lock */
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | evthread_pthread.c | 106 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); in evthread_posix_cond_alloc() 119 pthread_cond_t *cond = cond_; in evthread_posix_cond_free() 127 pthread_cond_t *cond = cond_; in evthread_posix_cond_signal() 140 pthread_cond_t *cond = cond_; in evthread_posix_cond_wait()
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | evthread_pthread.c | 106 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); in evthread_posix_cond_alloc() 119 pthread_cond_t *cond = cond_; in evthread_posix_cond_free() 127 pthread_cond_t *cond = cond_; in evthread_posix_cond_signal() 140 pthread_cond_t *cond = cond_; in evthread_posix_cond_wait()
|
| /freebsd-13.1/contrib/openbsm/bin/auditdistd/ |
| H A D | synch.h | 138 cv_init(pthread_cond_t *cv) in cv_init() 155 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) in cv_wait() 163 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) in cv_timedwait() 189 cv_signal(pthread_cond_t *cv) in cv_signal() 197 cv_broadcast(pthread_cond_t *cv) in cv_broadcast()
|
| /freebsd-13.1/sbin/hastd/ |
| H A D | synch.h | 140 cv_init(pthread_cond_t *cv) in cv_init() 155 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) __requires_exclusive(*lock) in cv_wait() 163 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) in cv_timedwait() 182 cv_signal(pthread_cond_t *cv) in cv_signal() 190 cv_broadcast(pthread_cond_t *cv) in cv_broadcast()
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libtpool/ |
| H A D | thread_pool_impl.h | 67 pthread_cond_t tp_busycv; /* synchronization in tpool_dispatch */ 68 pthread_cond_t tp_workcv; /* synchronization with workers */ 69 pthread_cond_t tp_waitcv; /* synchronization in tpool_wait() */
|
| /freebsd-13.1/include/ |
| H A D | pthread.h | 200 int pthread_cond_broadcast(pthread_cond_t *); 201 int pthread_cond_destroy(pthread_cond_t *); 202 int pthread_cond_init(pthread_cond_t * __restrict, 204 int pthread_cond_signal(pthread_cond_t *); 205 int pthread_cond_timedwait(pthread_cond_t *, 209 int pthread_cond_wait(pthread_cond_t * __restrict,
|
| /freebsd-13.1/contrib/lib9p/ |
| H A D | threadpool.h | 51 pthread_cond_t ltp_work_cv; /* to signal regular workers */ 52 pthread_cond_t ltp_reply_cv; /* to signal reply-worker */
|
| /freebsd-13.1/sys/contrib/zstd/lib/common/ |
| H A D | threading.c | 105 *cond = (pthread_cond_t*)ZSTD_malloc(sizeof(pthread_cond_t)); in ZSTD_pthread_cond_init()
|
| H A D | threading.h | 93 #define ZSTD_pthread_cond_t pthread_cond_t 118 #define ZSTD_pthread_cond_t pthread_cond_t*
|
| /freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_proc.h | 51 pthread_cond_t dpr_cv; /* cond for dpr_stop/quit/done */ 92 pthread_cond_t dph_cv; /* cond for waiting for dph_notify */
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzfs_core/ |
| H A D | libzfs_core.suppr | 5 name = pthread_cond_t
|
| /freebsd-13.1/contrib/apr/include/arch/unix/ |
| H A D | apr_arch_thread_cond.h | 37 pthread_cond_t cond;
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | mevent_test.c | 55 static pthread_cond_t accept_condvar = PTHREAD_COND_INITIALIZER; 114 pthread_cond_t e_cond;
|
| /freebsd-13.1/contrib/ofed/opensm/include/complib/ |
| H A D | cl_event_osd.h | 61 pthread_cond_t condvar;
|
| H A D | cl_timer_osd.h | 70 pthread_cond_t cond;
|
| H A D | cl_threadpool.h | 99 pthread_cond_t cond;
|
| /freebsd-13.1/usr.bin/mkuzip/ |
| H A D | mkuz_fqueue.h | 31 pthread_cond_t cvar;
|
| /freebsd-13.1/tools/regression/pthread/unwind/ |
| H A D | cond_wait_cancel.cpp | 12 pthread_cond_t cv;
|
| H A D | cond_wait_cancel2.cpp | 17 pthread_cond_t cv;
|
| /freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | background_thread_structs.h | 25 pthread_cond_t cond;
|
| /freebsd-13.1/sys/sys/ |
| H A D | _pthreadtypes.h | 73 typedef struct pthread_cond *pthread_cond_t; typedef
|