Lines Matching refs:evthread_cond_fns_
59 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_()
472 evthread_cond_fns_.alloc_condition(condtype) : NULL; in evthreadimpl_cond_alloc_()
477 if (evthread_cond_fns_.free_condition) in evthreadimpl_cond_free_()
478 evthread_cond_fns_.free_condition(cond); in evthreadimpl_cond_free_()
483 if (evthread_cond_fns_.signal_condition) in evthreadimpl_cond_signal_()
484 return evthread_cond_fns_.signal_condition(cond, broadcast); in evthreadimpl_cond_signal_()
491 if (evthread_cond_fns_.wait_condition) in evthreadimpl_cond_wait_()
492 return evthread_cond_fns_.wait_condition(cond, lock, tv); in evthreadimpl_cond_wait_()