evthread.c | 53 GLOBAL struct evthread_condition_callbacks _evthread_cond_fns = { variable in typeref:struct:evthread_condition_callbacks 113 ? &_original_cond_fns : &_evthread_cond_fns; 120 memset(target, 0, sizeof(_evthread_cond_fns)); 139 memcpy(target, cbs, sizeof(_evthread_cond_fns)); 142 _evthread_cond_fns.alloc_condition = cbs->alloc_condition; 143 _evthread_cond_fns.free_condition = cbs->free_condition; 144 _evthread_cond_fns.signal_condition = cbs->signal_condition; 284 memcpy(&_original_cond_fns, &_evthread_cond_fns, 286 _evthread_cond_fns.wait_condition = debug_cond_wait; 407 return _evthread_cond_fns.alloc_condition [all...] |