Searched refs:evthread_lock_fns_ (Results 1 - 2 of 2) sorted by relevance
/freebsd-11.0-release/contrib/ntp/sntp/libevent/ |
H A D | evthread.c | 50 GLOBAL struct evthread_lock_callbacks evthread_lock_fns_ = { variable in typeref:struct:evthread_lock_callbacks 75 ? &original_lock_fns_ : &evthread_lock_fns_; 96 memset(target, 0, sizeof(evthread_lock_fns_)); 115 memcpy(target, cbs, sizeof(evthread_lock_fns_)); 309 memcpy(&original_lock_fns_, &evthread_lock_fns_, 311 memcpy(&evthread_lock_fns_, &cbs, 380 return evthread_lock_fns_.alloc(locktype); 409 return evthread_lock_fns_.alloc ? 410 evthread_lock_fns_.alloc(locktype) : NULL; 415 if (evthread_lock_fns_ [all...] |
H A D | evthread-internal.h | 52 extern struct evthread_lock_callbacks evthread_lock_fns_; 78 ((lockvar) = evthread_lock_fns_.alloc ? \ 79 evthread_lock_fns_.alloc(locktype) : NULL) 85 if (lock_tmp_ && evthread_lock_fns_.free) \ 86 evthread_lock_fns_.free(lock_tmp_, (locktype)); \ 93 evthread_lock_fns_.lock(mode, lockvar); \ 100 evthread_lock_fns_.unlock(mode, lockvar); \ 139 if (lock && evthread_lock_fns_.lock) { 140 int r = evthread_lock_fns_.lock(EVTHREAD_TRY, lock); 180 (evthread_lock_fns_ [all...] |
Completed in 100 milliseconds