Home
last modified time | relevance | path

Searched refs:pthread_cond_t (Results 1 – 25 of 118) sorted by relevance

12345

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp162 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 Dthr_cond.c49 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 Dthr_private.h1063 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 Dctfmerge.h47 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 Devthread_pthread.c106 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 Devthread_pthread.c106 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 Dsynch.h138 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 Dthread_pool_impl.h68 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 Dpthread.h201 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 Dthreadpool.h51 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 Dtmpfs26.sh25 static pthread_cond_t write_cond;
27 static pthread_cond_t read_cond;
29 static pthread_cond_t state_cond;
H A Dpthread7.sh92 pthread_cond_t wait;
134 psig(pthread_cond_t *c)
143 pwait(pthread_cond_t *c, pthread_mutex_t *l)
H A Dpthread.sh62 static pthread_cond_t worker_go;
63 static pthread_cond_t worker_done;
H A Dpthread2.sh107 pthread_cond_t wait;
149 psig(pthread_cond_t *c)
158 pwait(pthread_cond_t *c, pthread_mutex_t *l)
H A Dpthread3.sh98 pthread_cond_t wait;
137 psig(pthread_cond_t *c)
146 pwait(pthread_cond_t *c, pthread_mutex_t *l)
H A Dpthread4.sh105 pthread_cond_t wait;
144 psig(pthread_cond_t *c)
153 pwait(pthread_cond_t *c, pthread_mutex_t *l)
H A Dpthread6.sh101 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 Dthreading.c105 *cond = (pthread_cond_t*)ZSTD_malloc(sizeof(pthread_cond_t)); in ZSTD_pthread_cond_init()
H A Dthreading.h93 #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 Ddt_proc.h56 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 Drtsan_interceptors.cpp208 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 Dmevent_test.c53 static pthread_cond_t accept_condvar = PTHREAD_COND_INITIALIZER;
112 pthread_cond_t e_cond;
/freebsd/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.suppr5 name = pthread_cond_t
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_event_osd.h61 pthread_cond_t condvar;
H A Dcl_timer_osd.h70 pthread_cond_t cond;

12345