Home
last modified time | relevance | path

Searched refs:evthread_cond_fns_ (Results 1 – 2 of 2) sorted by relevance

/external/libevent/
Devthread.c59 GLOBAL struct evthread_condition_callbacks evthread_cond_fns_ = { variable
85 ? &original_cond_fns_ : &evthread_cond_fns_; in evthread_get_condition_callbacks()
153 memset(target, 0, sizeof(evthread_cond_fns_)); in evthread_set_condition_callbacks()
172 memcpy(target, cbs, sizeof(evthread_cond_fns_)); in evthread_set_condition_callbacks()
175 evthread_cond_fns_.alloc_condition = cbs->alloc_condition; in evthread_set_condition_callbacks()
176 evthread_cond_fns_.free_condition = cbs->free_condition; in evthread_set_condition_callbacks()
177 evthread_cond_fns_.signal_condition = cbs->signal_condition; in evthread_set_condition_callbacks()
335 memcpy(&original_cond_fns_, &evthread_cond_fns_, in evthread_enable_lock_debugging()
337 evthread_cond_fns_.wait_condition = debug_cond_wait; in evthread_enable_lock_debugging()
471 return evthread_cond_fns_.alloc_condition ? in evthreadimpl_cond_alloc_()
[all …]
Devthread-internal.h55 extern struct evthread_condition_callbacks evthread_cond_fns_;
155 (condvar) = evthread_cond_fns_.alloc_condition ? \
156 evthread_cond_fns_.alloc_condition(0) : NULL; \
162 evthread_cond_fns_.free_condition((cond)); \
166 ( (cond) ? evthread_cond_fns_.signal_condition((cond), 0) : 0 )
169 ( (cond) ? evthread_cond_fns_.signal_condition((cond), 1) : 0 )
175 ( (cond) ? evthread_cond_fns_.wait_condition((cond), (lock), NULL) : 0 )
179 ( (cond) ? evthread_cond_fns_.wait_condition((cond), (lock), (tv)) : 0 )