Home
last modified time | relevance | path

Searched refs:evthread_id_fn_ (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Devthread.c58 GLOBAL unsigned long (*evthread_id_fn_)(void) = NULL; variable
74 evthread_id_fn_ = id_fn; in evthread_set_id_callback()
240 if (evthread_id_fn_) { in evthread_debug_lock_mark_locked()
242 me = evthread_id_fn_(); in evthread_debug_lock_mark_locked()
274 if (evthread_id_fn_) { in evthread_debug_lock_mark_unlocked()
276 me = evthread_id_fn_(); in evthread_debug_lock_mark_unlocked()
350 if (evthread_id_fn_) { in evthread_is_debug_lock_held_()
351 unsigned long me = evthread_id_fn_(); in evthread_is_debug_lock_held_()
426 return evthread_id_fn_ ? evthread_id_fn_() : 1; in evthreadimpl_get_id_()
H A Devthread-internal.h56 extern unsigned long (*evthread_id_fn_)(void);
62 (evthread_id_fn_ ? evthread_id_fn_() : 1)
67 (evthread_id_fn_ == NULL || \
68 (base)->th_owner_id == evthread_id_fn_())
74 (evthread_id_fn_ != NULL && \
76 (base)->th_owner_id != evthread_id_fn_())
/freebsd/contrib/libevent/
H A Devthread.c58 GLOBAL unsigned long (*evthread_id_fn_)(void) = NULL; variable
74 evthread_id_fn_ = id_fn; in evthread_set_id_callback()
240 if (evthread_id_fn_) { in evthread_debug_lock_mark_locked()
242 me = evthread_id_fn_(); in evthread_debug_lock_mark_locked()
274 if (evthread_id_fn_) { in evthread_debug_lock_mark_unlocked()
276 me = evthread_id_fn_(); in evthread_debug_lock_mark_unlocked()
350 if (evthread_id_fn_) { in evthread_is_debug_lock_held_()
351 unsigned long me = evthread_id_fn_(); in evthread_is_debug_lock_held_()
426 return evthread_id_fn_ ? evthread_id_fn_() : 1; in evthreadimpl_get_id_()
H A Devthread-internal.h56 extern unsigned long (*evthread_id_fn_)(void);
62 (evthread_id_fn_ ? evthread_id_fn_() : 1)
67 (evthread_id_fn_ == NULL || \
68 (base)->th_owner_id == evthread_id_fn_())
74 (evthread_id_fn_ != NULL && \
76 (base)->th_owner_id != evthread_id_fn_())