mirror of
https://github.com/php/doc-ru.git
synced 2025-08-15 23:42:35 +00:00
96 lines
3.7 KiB
XML
96 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: d9ecfba6ad07e4e0b1b13ed1f0592f09d2e2f5c9 Maintainer: sergey Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<reference xml:id="class.parallel-events" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<title>Класс parallel\Events</title>
|
|
<titleabbrev>parallel\Events</titleabbrev>
|
|
|
|
<partintro>
|
|
<section>
|
|
<title>Цикл событий</title>
|
|
<para>
|
|
Цикл событий отслеживает состояние наборов объектов Future и/или Channel (целей) для выполнения операций чтения
|
|
(<methodname>parallel\Future::value</methodname>, <methodname>parallel\Channel::recv</methodname>)
|
|
и записи (<methodname>parallel\Channel::send</methodname>) по мере того,
|
|
как цели становятся доступными и операции могут выполняться без блокировки цикла событий.
|
|
</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">Входные данные</classsynopsisinfo>
|
|
<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>
|
|
|
|
<classsynopsisinfo role="comment">Цели</classsynopsisinfo>
|
|
<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>
|
|
|
|
<classsynopsisinfo role="comment">Поведение</classsynopsisinfo>
|
|
<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>
|
|
|
|
<classsynopsisinfo role="comment">Опрос</classsynopsisinfo>
|
|
<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>
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
|
|
</section>
|
|
|
|
</partintro>
|
|
|
|
&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;
|
|
|
|
</reference>
|
|
<!-- 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
|
|
-->
|