<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Introduction</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.ev.html">Ev</a></div> <div class="next" style="text-align: right; float: right;"><a href="ev.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.ev.html">Ev</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="intro.ev" class="preface"> <h1 class="title">Introduction</h1> <p class="para"> This extension provides inteface to <a href="http://libev.schmorp.de/" class="link external">» libev</a> library - a high performance full-featured event loop written in C. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">This extension is not available on Windows platforms.</span></p></blockquote> <p class="para"> <em class="emphasis">Libev</em> 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. </p> <p class="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. </p> <p class="para"> You register interest in certain events by registering so-called event watchers, and then hand it over to libev by starting the watcher. </p> <p class="para"> For details refer to the <a href="http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod" class="link external">» documentation of libev</a> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.ev.html">Ev</a></div> <div class="next" style="text-align: right; float: right;"><a href="ev.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.ev.html">Ev</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>