evthread_condition_callbacks.alloc_condition

Function to allocate and initialize a new condition variable. Returns the condition variable on success, and NULL on failure. The 'condtype' argument will be 0 with this API version.

struct evthread_condition_callbacks
ExternC!(void* function(uint condtype)) alloc_condition;

Meta