Sets a group of functions that Libevent should use for locking.
For full information on the required callback API, see the
documentation for the individual members of evthread_lock_callbacks.
Note that if you're using Windows or the Pthreads threading library, you
probably shouldn't call this function; instead, use
evthread_use_windows_threads() or evthread_use_posix_threads() if you can.
Sets a group of functions that Libevent should use for locking. For full information on the required callback API, see the documentation for the individual members of evthread_lock_callbacks.
Note that if you're using Windows or the Pthreads threading library, you probably shouldn't call this function; instead, use evthread_use_windows_threads() or evthread_use_posix_threads() if you can.