evthread_lock_callbacks.lock

Acquire an already-allocated lock at 'lock' with mode 'mode'. * Returns 0 on success, and nonzero on failure.

struct evthread_lock_callbacks
ExternC!(int function(uint mode, void* lock)) lock;

Meta