event_active

Make an event active.

You can use this function on a pending or a non-pending event to make it active, so that its callback will be run by event_base_dispatch() or event_base_loop().

One common use in multithreaded programs is to wake the thread running event_base_loop() from another thread.

@param ev an event to make active. @param res a set of flags to pass to the event's callback. @param ncalls an obsolete argument: this is ignored.

extern (C) nothrow
void
event_active
(,
int res
,
short ncalls
)

Meta