Searched refs:_evthread_lock_fns (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/ |
H A D | evthread.c | 49 GLOBAL struct evthread_lock_callbacks _evthread_lock_fns = { variable in typeref:struct:evthread_lock_callbacks 76 ? &_original_lock_fns : &_evthread_lock_fns; 82 memset(target, 0, sizeof(_evthread_lock_fns)); 101 memcpy(target, cbs, sizeof(_evthread_lock_fns)); 279 memcpy(&_original_lock_fns, &_evthread_lock_fns, 281 memcpy(&_evthread_lock_fns, &cbs, 350 return _evthread_lock_fns.alloc(locktype); 379 return _evthread_lock_fns.alloc ? 380 _evthread_lock_fns.alloc(locktype) : NULL; 385 if (_evthread_lock_fns [all...] |
H A D | evthread-internal.h | 50 extern struct evthread_lock_callbacks _evthread_lock_fns; 76 ((lockvar) = _evthread_lock_fns.alloc ? \ 77 _evthread_lock_fns.alloc(locktype) : NULL) 83 if (_lock_tmp_ && _evthread_lock_fns.free) \ 84 _evthread_lock_fns.free(_lock_tmp_, (locktype)); \ 91 _evthread_lock_fns.lock(mode, lockvar); \ 98 _evthread_lock_fns.unlock(mode, lockvar); \ 137 if (lock && _evthread_lock_fns.lock) { 138 int r = _evthread_lock_fns.lock(EVTHREAD_TRY, lock); 178 (_evthread_lock_fns [all...] |
Completed in 133 milliseconds