php-doc-en/reference/ev/book.xml
2021-09-23 03:01:49 +01:00

82 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<book xml:id="book.ev" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<?phpdoc extension-membership="pecl" ?>
<title>Ev</title>
<titleabbrev>Ev</titleabbrev>
<preface xml:id="intro.ev">
&reftitle.intro;
<para>
This extension provides interface to
<link
xlink:href="&url.libev;">libev</link>
library - a high performance full-featured event loop written in C.
</para>
&note.no-windows.extension;
<para>
<emphasis>Libev</emphasis>
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.
</para>
<para>
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.
</para>
<para>
You register interest in certain events by registering so-called event
watchers, and then hand it over to libev by starting the watcher.
</para>
<para>
For details refer to the
<link
xlink:href="http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod">documentation
of libev</link>
</para>
</preface>
&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;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->