Introduction
EventBase
class represents libevent's event base structure. It holds a set of events
and can poll to determine which events are active.
Each event base has a
method,
or a
backend
that it uses to determine which events are ready. The recognized methods
are:
select,
poll,
epoll,
kqueue,
devpoll,
evport
and
win32.
To configure event base to use, or avoid specific backend
EventConfig
class can be used.
Warning
Do
NOT
destroy the
EventBase
object as long as resources of the associated
Event
objects are not released. Otherwise, it will lead to unpredictable
results!