Searched refs:evthread_cond_fns_ (Results 1 - 2 of 2) sorted by relevance
/freebsd-11.0-release/contrib/ntp/sntp/libevent/ |
H A D | evthread.c | 54 GLOBAL struct evthread_condition_callbacks evthread_cond_fns_ = { variable in typeref:struct:evthread_condition_callbacks 80 ? &original_cond_fns_ : &evthread_cond_fns_; 132 memset(target, 0, sizeof(evthread_cond_fns_)); 151 memcpy(target, cbs, sizeof(evthread_cond_fns_)); 154 evthread_cond_fns_.alloc_condition = cbs->alloc_condition; 155 evthread_cond_fns_.free_condition = cbs->free_condition; 156 evthread_cond_fns_.signal_condition = cbs->signal_condition; 314 memcpy(&original_cond_fns_, &evthread_cond_fns_, 316 evthread_cond_fns_.wait_condition = debug_cond_wait; 437 return evthread_cond_fns_ [all...] |
H A D | evthread-internal.h | 53 extern struct evthread_condition_callbacks evthread_cond_fns_; 152 (condvar) = evthread_cond_fns_.alloc_condition ? \ 153 evthread_cond_fns_.alloc_condition(0) : NULL; \ 159 evthread_cond_fns_.free_condition((cond)); \ 163 ( (cond) ? evthread_cond_fns_.signal_condition((cond), 0) : 0 ) 166 ( (cond) ? evthread_cond_fns_.signal_condition((cond), 1) : 0 ) 172 ( (cond) ? evthread_cond_fns_.wait_condition((cond), (lock), NULL) : 0 ) 176 ( (cond) ? evthread_cond_fns_.wait_condition((cond), (lock), (tv)) : 0 )
|
Completed in 114 milliseconds