diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2015-01-26 00:27:41 +0300 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2015-01-26 00:40:09 +0300 |
commit | c0b34f6fd5258bd2bb5cb02ed6408b21229a56b7 (patch) | |
tree | 2c33291cacc56f99aef5d8462da03d6f2c210f65 /evthread-internal.h | |
parent | 92a359ee3adf4636db508e6c6d7179d4d59eaafc (diff) | |
download | libevent-c0b34f6fd5258bd2bb5cb02ed6408b21229a56b7.tar.gz |
evthread: add evthread_get_{lock,condition}_callbacks() helpers
Diffstat (limited to 'evthread-internal.h')
-rw-r--r-- | evthread-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/evthread-internal.h b/evthread-internal.h index 346b2bb9..45e178f2 100644 --- a/evthread-internal.h +++ b/evthread-internal.h @@ -376,6 +376,11 @@ 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(); +/** Return current evthread_condition_callbacks */ +struct evthread_condition_callbacks *evthread_get_condition_callbacks(); + #endif #ifdef __cplusplus |