2019-05-03 10:18:52 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-08-04 18:09:38 +00:00
<!-- $Revision$ -->
2019-05-03 10:18:52 +00:00
<phpdoc:classref xml:id= "class.parallel-events" xmlns:phpdoc= "http://php.net/ns/phpdoc" xmlns= "http://docbook.org/ns/docbook" xmlns:xlink= "http://www.w3.org/1999/xlink" xmlns:xi= "http://www.w3.org/2001/XInclude" >
<title > The parallel\Events class</title>
<titleabbrev > parallel\Events</titleabbrev>
<partintro >
<section >
<title > The Event Loop</title>
<para >
The Event loop monitors the state of sets of futures and or channels (targets) in order to perform read (<methodname > parallel\Future::value</methodname> , <methodname > parallel\Channel::recv</methodname> ) and write (<methodname > parallel\Channel::send</methodname> ) operations as the targets become available and the operations may be performed without blocking the event loop.
</para>
</section>
<section xml:id= "parallel-events.synopsis" >
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis >
<ooclass > <classname > parallel\Events</classname> </ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo >
<ooclass >
<modifier > final</modifier>
<classname > parallel\Events</classname>
</ooclass>
<oointerface >
<interfacename > Countable</interfacename>
</oointerface>
<oointerface >
<interfacename > Traversable</interfacename>
</oointerface>
</classsynopsisinfo>
<!-- }}} -->
<classsynopsisinfo role= "comment" > Input</classsynopsisinfo>
2019-05-03 12:46:27 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.parallel-events')/db:refentry/db:refsect1[@audience='input']/descendant::db:methodsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2019-05-03 10:18:52 +00:00
<classsynopsisinfo role= "comment" > Targets</classsynopsisinfo>
2019-05-03 12:46:27 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.parallel-events')/db:refentry/db:refsect1[@audience='targets']/descendant::db:methodsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2019-05-03 10:18:52 +00:00
<classsynopsisinfo role= "comment" > Behaviour</classsynopsisinfo>
2019-05-03 12:46:27 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.parallel-events')/db:refentry/db:refsect1[@audience='behaviour']/descendant::db:methodsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2019-05-03 10:18:52 +00:00
<classsynopsisinfo role= "comment" > Polling</classsynopsisinfo>
2019-05-03 12:46:27 +00:00
<xi:include xpointer= "xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.parallel-events')/db:refentry/db:refsect1[@audience='polling']/descendant::db:methodsynopsis[not(@role='procedural')])" >
<xi:fallback />
</xi:include>
2019-05-03 10:18:52 +00:00
</classsynopsis>
<!-- }}} -->
</section>
</partintro>
2019-06-02 11:09:36 +00:00
&reference.parallel.parallel.events.setblocking;
&reference.parallel.parallel.events.settimeout;
&reference.parallel.parallel.events.setinput;
&reference.parallel.parallel.events.addchannel;
&reference.parallel.parallel.events.addfuture;
&reference.parallel.parallel.events.remove;
&reference.parallel.parallel.events.poll;
2019-05-03 10:18:52 +00:00
</phpdoc:classref>
<!-- 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
-->