]> granicus.if.org Git - libevent/commitdiff
Add a comment on evthread_enable_lock_debuging.
authorNick Mathewson <nickm@torproject.org>
Tue, 12 Jan 2010 01:47:36 +0000 (20:47 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 12 Jan 2010 01:47:45 +0000 (20:47 -0500)
include/event2/thread.h

index 0540b7f954de90d3128c6ed290bb4e9e042a7c4f..762d8a5d62da10bcdce67ec07aac3ca3cc3966cd 100644 (file)
@@ -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 */