evthread_use_pthreads

Sets up Libevent for use with Pthreads locking and thread ID functions. Unavailable if Libevent is not build for use with pthreads. Requires libraries to link against Libevent_pthreads as well as Libevent.

@return 0 on success, -1 on failure.

version(Posix)
extern (C) nothrow
int
evthread_use_pthreads
()

Meta