| /freebsd-14.2/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-14.2/lib/libthr/thread/ |
| H A D | thr_cond.c | 54 static int cond_signal_common(pthread_cond_t *cond); 55 static int cond_broadcast_common(pthread_cond_t *cond); 119 init_static(struct pthread *thread, pthread_cond_t *cond) in init_static() 153 _thr_cond_init(pthread_cond_t * __restrict cond, in _thr_cond_init() 162 _thr_cond_destroy(pthread_cond_t *cond) in _thr_cond_destroy() 388 __thr_cond_wait(pthread_cond_t * __restrict cond, in __thr_cond_wait() 396 _thr_cond_timedwait(pthread_cond_t * __restrict cond, in _thr_cond_timedwait() 421 cond_signal_common(pthread_cond_t *cond) in cond_signal_common() 507 cond_broadcast_common(pthread_cond_t *cond) in cond_broadcast_common() 545 _thr_cond_signal(pthread_cond_t * cond) in _thr_cond_signal() [all …]
|
| H A D | thr_private.h | 1061 int _thr_cond_init(pthread_cond_t * __restrict, 1063 int _thr_cond_destroy(pthread_cond_t *); 1064 int _thr_cond_timedwait(pthread_cond_t * __restrict, 1066 int _thr_cond_signal(pthread_cond_t * cond); 1067 int _thr_cond_broadcast(pthread_cond_t * cond); 1068 int __thr_cond_wait(pthread_cond_t *, pthread_mutex_t *); 1069 int _thr_cond_wait(pthread_cond_t *, pthread_mutex_t *);
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/sbin/hastd/ |
| H A D | synch.h | 137 cv_init(pthread_cond_t *cv) in cv_init() 152 cv_wait(pthread_cond_t *cv, pthread_mutex_t *lock) __requires_exclusive(*lock) in cv_wait() 160 cv_timedwait(pthread_cond_t *cv, pthread_mutex_t *lock, int timeout) in cv_timedwait() 179 cv_signal(pthread_cond_t *cv) in cv_signal() 187 cv_broadcast(pthread_cond_t *cv) in cv_broadcast()
|
| /freebsd-14.2/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-14.2/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-14.2/include/ |
| H A D | pthread.h | 201 int pthread_cond_broadcast(pthread_cond_t *); 202 int pthread_cond_destroy(pthread_cond_t *); 203 int pthread_cond_init(pthread_cond_t * __restrict, 205 int pthread_cond_signal(pthread_cond_t *); 206 int pthread_cond_timedwait(pthread_cond_t *, 210 int pthread_cond_wait(pthread_cond_t * __restrict,
|
| /freebsd-14.2/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-14.2/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-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_proc.h | 56 pthread_cond_t dpr_cv; /* cond for dpr_stop/quit/done */ 98 pthread_cond_t dph_cv; /* cond for waiting for dph_notify */
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | pthread7.sh | 92 pthread_cond_t wait; 134 psig(pthread_cond_t *c) 143 pwait(pthread_cond_t *c, pthread_mutex_t *l)
|
| H A D | pthread.sh | 62 static pthread_cond_t worker_go; 63 static pthread_cond_t worker_done;
|
| H A D | pthread2.sh | 107 pthread_cond_t wait; 149 psig(pthread_cond_t *c) 158 pwait(pthread_cond_t *c, pthread_mutex_t *l)
|
| H A D | pthread3.sh | 98 pthread_cond_t wait; 137 psig(pthread_cond_t *c) 146 pwait(pthread_cond_t *c, pthread_mutex_t *l)
|
| H A D | pthread6.sh | 101 pthread_cond_t wait; 136 psig(pthread_cond_t *c) 145 pwait(pthread_cond_t *c, pthread_mutex_t *l)
|
| H A D | pthread4.sh | 105 pthread_cond_t wait; 144 psig(pthread_cond_t *c) 153 pwait(pthread_cond_t *c, pthread_mutex_t *l)
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzfs_core/ |
| H A D | libzfs_core.suppr | 5 name = pthread_cond_t
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | mevent_test.c | 53 static pthread_cond_t accept_condvar = PTHREAD_COND_INITIALIZER; 112 pthread_cond_t e_cond;
|
| /freebsd-14.2/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;
|
| /freebsd-14.2/usr.bin/mkuzip/ |
| H A D | mkuz_fqueue.h | 29 pthread_cond_t cvar;
|