/freebsd/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() 167 void *newcond = InternalAlloc(sizeof(pthread_cond_t)); 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() 176 INTERCEPTOR(int, pthread_cond_init, pthread_cond_t *c, in INTERCEPTOR() 179 pthread_cond_t *cond = init_cond(c, true); in INTERCEPTOR() 183 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { in INTERCEPTOR() 185 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR() [all …]
|
/freebsd/lib/libthr/thread/ |
H A D | thr_cond.c | 49 int __pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, 51 static int cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr); 52 static int cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, 54 static int cond_signal_common(pthread_cond_t *cond); 55 static int cond_broadcast_common(pthread_cond_t *cond); 92 cond_init(pthread_cond_t *cond, const pthread_condattr_t *cond_attr) in cond_init() 120 init_static(struct pthread *thread, pthread_cond_t *cond) in init_static() 154 _thr_cond_init(pthread_cond_t * __restrict cond, in _thr_cond_init() 163 _thr_cond_destroy(pthread_cond_t *cond) in _thr_cond_destroy() 352 cond_wait_common(pthread_cond_t *cond, pthread_mutex_t *mutex, in cond_wait_common() [all …]
|
H A D | thr_private.h | 1063 int _thr_cond_init(pthread_cond_t * __restrict, 1065 int _thr_cond_destroy(pthread_cond_t *); 1066 int _thr_cond_timedwait(pthread_cond_t * __restrict, 1068 int _thr_cond_signal(pthread_cond_t * cond); 1069 int _thr_cond_broadcast(pthread_cond_t * cond); 1070 int __thr_cond_wait(pthread_cond_t *, pthread_mutex_t *); 1071 int _thr_cond_wait(pthread_cond_t *, pthread_mutex_t *);
|
/freebsd/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/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/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/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/sys/contrib/openzfs/lib/libtpool/ |
H A D | thread_pool_impl.h | 68 pthread_cond_t tp_busycv; /* synchronization in tpool_dispatch */ 69 pthread_cond_t tp_workcv; /* synchronization with workers */ 70 pthread_cond_t tp_waitcv; /* synchronization in tpool_wait() */
|
/freebsd/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/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/tools/test/stress2/misc/ |
H A D | tmpfs26.sh | 25 static pthread_cond_t write_cond; 27 static pthread_cond_t read_cond; 29 static pthread_cond_t state_cond;
|
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 | pthread4.sh | 105 pthread_cond_t wait; 144 psig(pthread_cond_t *c) 153 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)
|
/freebsd/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/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/contrib/llvm-project/compiler-rt/lib/rtsan/ |
H A D | rtsan_interceptors.cpp | 208 INTERCEPTOR(int, pthread_cond_signal, pthread_cond_t *cond) { in INTERCEPTOR() 213 INTERCEPTOR(int, pthread_cond_broadcast, pthread_cond_t *cond) { in INTERCEPTOR() 218 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *cond, in INTERCEPTOR() 224 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *cond, in INTERCEPTOR()
|
/freebsd/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/sys/contrib/openzfs/lib/libzfs_core/ |
H A D | libzfs_core.suppr | 5 name = pthread_cond_t
|
/freebsd/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;
|