diff options
Diffstat (limited to 'contrib/ntp/sntp/libevent/evthread-internal.h')
-rw-r--r-- | contrib/ntp/sntp/libevent/evthread-internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/ntp/sntp/libevent/evthread-internal.h b/contrib/ntp/sntp/libevent/evthread-internal.h index 346b2bb..efdecf8 100644 --- a/contrib/ntp/sntp/libevent/evthread-internal.h +++ b/contrib/ntp/sntp/libevent/evthread-internal.h @@ -376,6 +376,13 @@ int evsig_global_setup_locks_(const int enable_locks); int evutil_global_setup_locks_(const int enable_locks); int evutil_secure_rng_global_setup_locks_(const int enable_locks); +/** Return current evthread_lock_callbacks */ +struct evthread_lock_callbacks *evthread_get_lock_callbacks(void); +/** Return current evthread_condition_callbacks */ +struct evthread_condition_callbacks *evthread_get_condition_callbacks(void); +/** Disable locking for internal usage (like global shutdown) */ +void evthreadimpl_disable_lock_debugging_(void); + #endif #ifdef __cplusplus |