From: Nick Mathewson Date: Tue, 12 Jan 2010 01:47:36 +0000 (-0500) Subject: Add a comment on evthread_enable_lock_debuging. X-Git-Tag: release-2.0.4-alpha~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9f43b231fe738789110f99d7045f2535986e997;p=libevent Add a comment on evthread_enable_lock_debuging. --- diff --git a/include/event2/thread.h b/include/event2/thread.h index 0540b7f9..762d8a5d 100644 --- a/include/event2/thread.h +++ b/include/event2/thread.h @@ -172,7 +172,9 @@ int evthread_use_pthreads(void); #endif -/* XXXXX */ +/** Enable debugging wrappers around the current lock callbacks. If Libevent + * makes one of several common locking errors, exit with an assertion failure. + **/ void evthread_enable_lock_debuging(void); #endif /* _EVENT_DISABLE_THREAD_SUPPORT */