mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix: eol spaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328908 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
93fa84169d
commit
c0795d6106
32 changed files with 96 additions and 96 deletions
|
@ -13,7 +13,7 @@
|
|||
read the file <filename>INSTALL.md</filename> included in the package source.
|
||||
</para>
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
|
|
@ -240,7 +240,7 @@
|
|||
<initializer>65535</initializer>
|
||||
</fieldsynopsis>
|
||||
<!--}}}-->
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.ev')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
</classsynopsis>
|
||||
|
@ -310,7 +310,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
When this flag is specified, <literal>libev</literal> will attempt to
|
||||
use the <literal>signalfd</literal> API for its
|
||||
use the <literal>signalfd</literal> API for its
|
||||
<link
|
||||
xlink:href="http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#code_ev_signal_code_signal_me_when_a">ev_signal</link>
|
||||
(and <link
|
||||
|
@ -638,7 +638,7 @@
|
|||
<term><constant>Ev::BACKEND_PORT</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Solaris 10 event port mechanism with a good scaling.
|
||||
Solaris 10 event port mechanism with a good scaling.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -674,7 +674,7 @@
|
|||
|
||||
<note xmlns="http://docbook.org/ns/docbook">
|
||||
<para>
|
||||
For the default loop during module initialization phase <literal>Ev</literal> registers
|
||||
For the default loop during module initialization phase <literal>Ev</literal> registers
|
||||
<link
|
||||
xlink:href="http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#FUNCTIONS_CONTROLLING_EVENT_LOOPS_CO">ev_loop_fork</link>
|
||||
call by means of <literal>pthread_atfork</literal>(if available).
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns a bit mask which can containing <link
|
||||
linkend="ev.constants.watcher-backends">backend flags</link> combined using
|
||||
linkend="ev.constants.watcher-backends">backend flags</link> combined using
|
||||
bitwise <emphasis>OR</emphasis> operator.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -40,9 +40,9 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
/*
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* use EVFLAG_NOENV, too)
|
||||
*
|
||||
* Example borrowed from
|
||||
|
@ -59,7 +59,7 @@ if (Ev::supportedBackends() & ~Ev::recommendedBackends() & Ev::BACKEND_KQUEUE) {
|
|||
}
|
||||
|
||||
if (!$socket_loop) {
|
||||
$socket_loop = $loop;
|
||||
$socket_loop = $loop;
|
||||
}
|
||||
|
||||
// Now use $socket_loop for all sockets, and $loop for anything else
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns a bit mask which can containing <link
|
||||
linkend="ev.constants.watcher-backends">backend flags</link> combined using
|
||||
linkend="ev.constants.watcher-backends">backend flags</link> combined using
|
||||
bitwise <emphasis>OR</emphasis> operator.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -48,12 +48,12 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
/*
|
||||
* Try to get an embeddable event loop and embed it into the default event loop.
|
||||
* Try to get an embeddable event loop and embed it into the default event loop.
|
||||
* If it is impossible, use the default
|
||||
* loop. The default loop is stored in $loop_hi, while the embeddable loop is
|
||||
* stored in $loop_lo(which is $loop_hi in the case no embeddable loop can be
|
||||
* loop. The default loop is stored in $loop_hi, while the embeddable loop is
|
||||
* stored in $loop_lo(which is $loop_hi in the case no embeddable loop can be
|
||||
* used).
|
||||
*
|
||||
*
|
||||
* Sample translated to PHP
|
||||
* http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9
|
||||
*/
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns a bit mask which can containing <link
|
||||
linkend="ev.constants.watcher-backends">backend flags</link> combined using
|
||||
linkend="ev.constants.watcher-backends">backend flags</link> combined using
|
||||
bitwise <emphasis>OR</emphasis> operator.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -42,9 +42,9 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
/*
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* use EVFLAG_NOENV, too)
|
||||
*
|
||||
* Example borrowed from
|
||||
|
@ -61,7 +61,7 @@ if (Ev::supportedBackends() & ~Ev::recommendedBackends() & Ev::BACKEND_KQUEUE) {
|
|||
}
|
||||
|
||||
if (!$socket_loop) {
|
||||
$socket_loop = $loop;
|
||||
$socket_loop = $loop;
|
||||
}
|
||||
|
||||
// Now use $socket_loop for all sockets, and $loop for anything else
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<ooclass>
|
||||
<classname>EvCheck</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -75,10 +75,10 @@
|
|||
<!--<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>-->
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evcheck')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<ooclass>
|
||||
<classname>EvChild</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -64,10 +64,10 @@
|
|||
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evchild')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvChild properties -->
|
||||
<section xml:id="evchild.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
Wait for status changes of process PID(or any process if PID is specified
|
||||
as <constant>0</constant>).
|
||||
as <constant>0</constant>).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<ooclass>
|
||||
<classname>EvEmbed</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -42,10 +42,10 @@
|
|||
<varname linkend="evembed.props.embed">embed</varname>
|
||||
</fieldsynopsis>
|
||||
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evembed')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -54,7 +54,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvEmbed properties -->
|
||||
<section xml:id="evembed.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -88,9 +88,9 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
/*
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* use EVFLAG_NOENV, too)
|
||||
*
|
||||
* Example borrowed from
|
||||
|
@ -107,7 +107,7 @@ if (Ev::supportedBackends() & ~Ev::recommendedBackends() & Ev::BACKEND_KQUEUE) {
|
|||
}
|
||||
|
||||
if (!$socket_loop) {
|
||||
$socket_loop = $loop;
|
||||
$socket_loop = $loop;
|
||||
}
|
||||
|
||||
// Now use $socket_loop for all sockets, and $loop for anything else
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<ooclass>
|
||||
<classname>EvFork</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -45,10 +45,10 @@
|
|||
<!--<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>-->
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evfork')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
watchers are active, the process will <emphasis>not</emphasis> block when
|
||||
waiting for new events.
|
||||
</para>
|
||||
|
||||
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
|||
<ooclass>
|
||||
<classname>EvIdle</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -63,10 +63,10 @@
|
|||
<!--<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>-->
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evidle')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
|||
<!-- }}} -->
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<varlistentry>
|
||||
<term><parameter>callback</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<para>
|
||||
See <link linkend="ev.watcher-callbacks">Watcher callbacks</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<ooclass>
|
||||
<classname>EvIo</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -77,10 +77,10 @@
|
|||
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evio')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvIo properties -->
|
||||
<section xml:id="evio.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
<varname linkend="evloop.props.depth">depth</varname>
|
||||
</fieldsynopsis>
|
||||
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evloop')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
</classsynopsis>
|
||||
|
@ -84,7 +84,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvLoop properties -->
|
||||
<section xml:id="evloop.props">
|
||||
&reftitle.properties;
|
||||
|
@ -165,7 +165,7 @@
|
|||
latency/jitter/inexactness(the watcher callback will be called later).
|
||||
<classname>EvIo</classname> watchers will not be affected. Setting this to a non-null value
|
||||
will not introduce any overhead in <emphasis>libev</emphasis>.
|
||||
|
||||
|
||||
See also <link
|
||||
xlink:href="http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#FUNCTIONS_CONTROLLING_EVENT_LOOPS">FUNCTIONS
|
||||
CONTROLLING EVENT LOOPS</link>.
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<para>
|
||||
All parameters have the same meaning as for
|
||||
<methodname>EvEmbed::__construct</methodname>.
|
||||
</para>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
constants</link>.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<ooclass>
|
||||
<classname>EvPeriodic</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -79,10 +79,10 @@
|
|||
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evperiodic')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvPeriodic properties -->
|
||||
<section xml:id="evperiodic.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<term><parameter>offset</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<term><parameter>interval</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -53,7 +53,7 @@
|
|||
<para>
|
||||
Reschedule callback. You can pass &null;.
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation
|
||||
modes</link>
|
||||
modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<term><parameter>offset</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -44,7 +44,7 @@
|
|||
<term><parameter>interval</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<para>
|
||||
Reschedule callback. You can pass &null;.
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation
|
||||
modes</link>
|
||||
modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The same meaning as for <methodname>EvPeriodic::__construct</methodname>.
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,7 +37,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
The same meaning as for <methodname>EvPeriodic::__construct</methodname>.
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
See <link linkend="ev.periodic-modes">Periodic watcher operation modes</link>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<ooclass>
|
||||
<classname>EvPrepare</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -36,10 +36,10 @@
|
|||
<!--<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>-->
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evprepare')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<ooclass>
|
||||
<classname>EvSignal</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -67,10 +67,10 @@
|
|||
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evsignal')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -79,7 +79,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvSignal properties -->
|
||||
<section xml:id="evsignal.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
<ooclass>
|
||||
<classname>EvStat</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -83,10 +83,10 @@
|
|||
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evstat')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -95,7 +95,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvStat properties -->
|
||||
<section xml:id="evstat.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<literal>stat</literal>'ing):
|
||||
<table>
|
||||
<title>
|
||||
List for item keys of the array returned by <methodname>EvStat::attr</methodname>
|
||||
List for item keys of the array returned by <methodname>EvStat::attr</methodname>
|
||||
</title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<ooclass>
|
||||
<classname>EvTimer</classname>
|
||||
</ooclass>
|
||||
|
||||
|
||||
<ooclass>
|
||||
<modifier>extends</modifier>
|
||||
<classname>EvWatcher</classname>
|
||||
|
@ -77,10 +77,10 @@
|
|||
|
||||
<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('evwatcher.synopsis')/descendant::db:fieldsynopsis)" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evtimer')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvTimer properties -->
|
||||
<section xml:id="evtimer.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<term><parameter>after</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Configures the timer to trigger after <parameter>after</parameter> seconds.
|
||||
Configures the timer to trigger after <parameter>after</parameter> seconds.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<term><parameter>after</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Configures the timer to trigger after <parameter>after</parameter> seconds.
|
||||
Configures the timer to trigger after <parameter>after</parameter> seconds.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<term><parameter>after</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Configures the timer to trigger after <parameter>after</parameter> seconds.
|
||||
Configures the timer to trigger after <parameter>after</parameter> seconds.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<varname linkend="evwatcher.props.priority">priority</varname>
|
||||
</fieldsynopsis>
|
||||
|
||||
|
||||
|
||||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evwatcher')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
</classsynopsis>
|
||||
|
@ -62,7 +62,7 @@
|
|||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<!-- {{{ EvWatcher properties -->
|
||||
<section xml:id="evwatcher.props">
|
||||
&reftitle.properties;
|
||||
|
|
|
@ -256,12 +256,12 @@ Connection: close
|
|||
<![CDATA[
|
||||
<?php
|
||||
/*
|
||||
* Try to get an embeddable event loop and embed it into the default event loop.
|
||||
* Try to get an embeddable event loop and embed it into the default event loop.
|
||||
* If it is impossible, use the default
|
||||
* loop. The default loop is stored in $loop_hi, while the embeddable loop is
|
||||
* stored in $loop_lo(which is $loop_hi in the case no embeddable loop can be
|
||||
* loop. The default loop is stored in $loop_hi, while the embeddable loop is
|
||||
* stored in $loop_lo(which is $loop_hi in the case no embeddable loop can be
|
||||
* used).
|
||||
*
|
||||
*
|
||||
* Sample translated to PHP
|
||||
* http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Examples_CONTENT-9
|
||||
*/
|
||||
|
@ -293,9 +293,9 @@ if ($loop_lo) {
|
|||
<![CDATA[
|
||||
<?php
|
||||
/*
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* Check if kqueue is available but not recommended and create a kqueue backend
|
||||
* for use with sockets (which usually work with any kqueue implementation).
|
||||
* Store the kqueue/socket-only event loop in loop_socket. (One might optionally
|
||||
* use EVFLAG_NOENV, too)
|
||||
*
|
||||
* Example borrowed from
|
||||
|
@ -312,7 +312,7 @@ if (Ev::supportedBackends() & ~Ev::recommendedBackends() & Ev::BACKEND_KQUEUE) {
|
|||
}
|
||||
|
||||
if (!$socket_loop) {
|
||||
$socket_loop = $loop;
|
||||
$socket_loop = $loop;
|
||||
}
|
||||
|
||||
// Now use $socket_loop for all sockets, and $loop for anything else
|
||||
|
|
|
@ -38,7 +38,7 @@ Ev::run(Ev::RUN_ONCE);
|
|||
automatically stop and start it again if it is active, which means pending
|
||||
events get lost.
|
||||
</para>
|
||||
|
||||
|
||||
<para>
|
||||
See also: <link linkend="ev.watcher-callbacks">Watcher callbacks</link>.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue