(No version information available, might only be in Git)
EventConfig::setMaxDispatchInterval — Prevents priority inversion
Prevents priority inversion by limiting how many low-priority event callbacks can be invoked before checking for more high-priority events.
Available since libevent 2.1.0-alpha .
An interval after which Libevent should stop running callbacks and check
for more events, or
, if there should be no such interval.
A number of callbacks after which Libevent should stop running callbacks
and check for more events, or
, if there should be no such limit.
A priority below which
should not be enforced. If this is set to
, they are enforced for events of every priority; if it's set to
, they're enforced for events of priority
and above, and so on.
TRUE on success, otherwise