Lines Matching refs:pthread_cond_t
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()
193 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *c, pthread_mutex_t *m, in INTERCEPTOR()
196 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR()
204 INTERCEPTOR(int, pthread_cond_signal, pthread_cond_t *c) { in INTERCEPTOR()
206 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR()
210 INTERCEPTOR(int, pthread_cond_broadcast, pthread_cond_t *c) { in INTERCEPTOR()
212 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR()
216 INTERCEPTOR(int, pthread_cond_destroy, pthread_cond_t *c) { in INTERCEPTOR()
218 pthread_cond_t *cond = init_cond(c); in INTERCEPTOR()