Lines Matching refs:_evthread_cond_fns
53 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()
408 _evthread_cond_fns.alloc_condition(condtype) : NULL; in _evthreadimpl_cond_alloc()
413 if (_evthread_cond_fns.free_condition) in _evthreadimpl_cond_free()
414 _evthread_cond_fns.free_condition(cond); in _evthreadimpl_cond_free()
419 if (_evthread_cond_fns.signal_condition) in _evthreadimpl_cond_signal()
420 return _evthread_cond_fns.signal_condition(cond, broadcast); in _evthreadimpl_cond_signal()
427 if (_evthread_cond_fns.wait_condition) in _evthreadimpl_cond_wait()
428 return _evthread_cond_fns.wait_condition(cond, lock, tv); in _evthreadimpl_cond_wait()