mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-24 17:02:18 +01:00
140 lines
4.9 KiB
XML
140 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<reference xml:id="class.evchild" 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>La classe EvChild</title>
|
|
<titleabbrev>EvChild</titleabbrev>
|
|
<partintro>
|
|
<!-- {{{ EvChild intro -->
|
|
<section xml:id="evchild.intro">
|
|
&reftitle.intro;
|
|
<para>
|
|
Les watchers <classname>EvChild</classname> sont lancés lorsque le
|
|
processus recoit un <constant>SIGCHLD</constant> en réponse à des
|
|
modifications de statut de fils (typiquement, lorsqu'un fils
|
|
meurt ou sort). Il est permis d'installer un watcher
|
|
<constant>EvChild</constant> après que le fils n'ait été forké
|
|
(ce qui implique qu'il a du déjà exister), tant que la boucle
|
|
d'événements n'a pas débutée (ou continué depuis un watcher), i.e.
|
|
forker puis, enregistrer immédiatement un watcher pour le fils est
|
|
la bonne méthode, mais forker et enregistrer un watcher après quelques
|
|
itérations de la boucle d'événements ou dans la prochaine invocation
|
|
de la fonction de rappel n'est pas la bonne méthode.
|
|
</para>
|
|
<para>
|
|
Il est seulement autorisé d'enregistrer des watchers
|
|
<classname>EvChild</classname> dans la
|
|
<emphasis>boucle par défaut</emphasis>.
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
<section xml:id="evchild.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis>
|
|
<ooclass>
|
|
<classname>EvChild</classname>
|
|
</ooclass>
|
|
<!-- {{{ Class synopsis -->
|
|
<classsynopsisinfo>
|
|
<ooclass>
|
|
<classname>EvChild</classname>
|
|
</ooclass>
|
|
<ooclass>
|
|
<modifier>extends</modifier>
|
|
<classname>EvWatcher</classname>
|
|
</ooclass>
|
|
</classsynopsisinfo>
|
|
<!-- }}} -->
|
|
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<varname linkend="evchild.props.pid">pid</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<varname linkend="evchild.props.rpid">rpid</varname>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<varname linkend="evchild.props.rstatus">rstatus</varname>
|
|
</fieldsynopsis>
|
|
<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:constructorsynopsis[not(@role='procedural')])"/>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.evchild')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])"/>
|
|
<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])" />
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
</section>
|
|
<!-- {{{ EvChild properties -->
|
|
<section xml:id="evchild.props">
|
|
&reftitle.properties;
|
|
<variablelist>
|
|
<varlistentry xml:id="evchild.props.pid">
|
|
<term>
|
|
<varname>pid</varname>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<emphasis>Lecture seule</emphasis>. L'ID du processus relatif
|
|
aux watchers, ou <literal>0</literal> signifiant tous les IDs
|
|
de processus.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="evchild.props.rpid">
|
|
<term>
|
|
<varname>rpid</varname>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<emphasis>Lecture seule</emphasis>. L'ID du processus qui a détecté
|
|
une modification de statut.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="evchild.props.rstatus">
|
|
<term>
|
|
<varname>rstatus</varname>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<emphasis>Lecture seule</emphasis>. Le statut de sortie du processus
|
|
causé par <varname>rpid</varname>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<!-- }}} -->
|
|
</partintro>
|
|
|
|
&reference.ev.entities.evchild;
|
|
|
|
</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
|
|
-->
|