diff options
author | Azat Khuzhin <a3at.mail@gmail.com> | 2015-01-26 00:28:46 +0300 |
---|---|---|
committer | Azat Khuzhin <a3at.mail@gmail.com> | 2015-01-26 00:40:09 +0300 |
commit | ccc55937cfc23b5ecca7f6b2427f906f8413ca4e (patch) | |
tree | 6149fe006b39092fcce2ffd513ad900b12379d5e /evthread.c | |
parent | c0b34f6fd5258bd2bb5cb02ed6408b21229a56b7 (diff) | |
download | libevent-ccc55937cfc23b5ecca7f6b2427f906f8413ca4e.tar.gz |
evthread: evthreadimpl_disable_lock_debugging_() for libevent_global_shutdown()
Diffstat (limited to 'evthread.c')
-rw-r--r-- | evthread.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -79,6 +79,10 @@ struct evthread_condition_callbacks *evthread_get_condition_callbacks() return evthread_lock_debugging_enabled_ ? &original_cond_fns_ : &evthread_cond_fns_; } +void evthreadimpl_disable_lock_debugging_(void) +{ + evthread_lock_debugging_enabled_ = 0; +} int evthread_set_lock_callbacks(const struct evthread_lock_callbacks *cbs) |