summaryrefslogtreecommitdiff
path: root/evthread.c
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2015-01-26 00:28:46 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2015-01-26 00:40:09 +0300
commitccc55937cfc23b5ecca7f6b2427f906f8413ca4e (patch)
tree6149fe006b39092fcce2ffd513ad900b12379d5e /evthread.c
parentc0b34f6fd5258bd2bb5cb02ed6408b21229a56b7 (diff)
downloadlibevent-ccc55937cfc23b5ecca7f6b2427f906f8413ca4e.tar.gz
evthread: evthreadimpl_disable_lock_debugging_() for libevent_global_shutdown()
Diffstat (limited to 'evthread.c')
-rw-r--r--evthread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/evthread.c b/evthread.c
index 40933626..02dab7a8 100644
--- a/evthread.c
+++ b/evthread.c
@@ -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)