Home
last modified time | relevance | path

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

/external/libevent/
Devthread.c53 GLOBAL struct evthread_condition_callbacks _evthread_cond_fns = { variable
113 ? &_original_cond_fns : &_evthread_cond_fns; in evthread_set_condition_callbacks()
120 memset(target, 0, sizeof(_evthread_cond_fns)); in evthread_set_condition_callbacks()
139 memcpy(target, cbs, sizeof(_evthread_cond_fns)); in evthread_set_condition_callbacks()
142 _evthread_cond_fns.alloc_condition = cbs->alloc_condition; in evthread_set_condition_callbacks()
143 _evthread_cond_fns.free_condition = cbs->free_condition; in evthread_set_condition_callbacks()
144 _evthread_cond_fns.signal_condition = cbs->signal_condition; in evthread_set_condition_callbacks()
284 memcpy(&_original_cond_fns, &_evthread_cond_fns, in evthread_enable_lock_debuging()
286 _evthread_cond_fns.wait_condition = debug_cond_wait; in evthread_enable_lock_debuging()
407 return _evthread_cond_fns.alloc_condition ? in _evthreadimpl_cond_alloc()
[all …]
Devthread-internal.h51 extern struct evthread_condition_callbacks _evthread_cond_fns;
150 (condvar) = _evthread_cond_fns.alloc_condition ? \
151 _evthread_cond_fns.alloc_condition(0) : NULL; \
157 _evthread_cond_fns.free_condition((cond)); \
161 ( (cond) ? _evthread_cond_fns.signal_condition((cond), 0) : 0 )
164 ( (cond) ? _evthread_cond_fns.signal_condition((cond), 1) : 0 )
170 ( (cond) ? _evthread_cond_fns.wait_condition((cond), (lock), NULL) : 0 )
174 ( (cond) ? _evthread_cond_fns.wait_condition((cond), (lock), (tv)) : 0 )