EvEv
&reftitle.intro;
This extension provides interface to
libev
library - a high performance full-featured event loop written in C.
¬e.no-windows.extension;
Libev
is an event loop: one registers interest in certain events (such as a file
descriptor being readable or a timeout occurring), and it will manage these
event sources and provide the program with events.
To do this, it must take more or less complete control over the process (or
thread) by executing the event loop handler, and will then communicate
events via a callback mechanism.
You register interest in certain events by registering so-called event
watchers, and then hand it over to libev by starting the watcher.
For details refer to the
documentation
of libev
&reference.ev.setup;
&reference.ev.constants;
&reference.ev.examples;
&reference.ev.watchers;
&reference.ev.watcher-callbacks;
&reference.ev.periodic-modes;
&reference.ev.ev;
&reference.ev.evcheck;
&reference.ev.evchild;
&reference.ev.evembed;
&reference.ev.evfork;
&reference.ev.evidle;
&reference.ev.evio;
&reference.ev.evloop;
&reference.ev.evperiodic;
&reference.ev.evprepare;
&reference.ev.evsignal;
&reference.ev.evstat;
&reference.ev.evtimer;
&reference.ev.evwatcher;