cvs: phpdoc /en/reference/pcntl/functions pcntl-signal.xml

From: Date: Thu, 26 Feb 2004 22:36:02 +0000
Subject: cvs: phpdoc /en/reference/pcntl/functions pcntl-signal.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359254@lists.php.net to get a copy of this message
irchtml Thu Feb 26 17:36:02 2004 EDT Modified files: /phpdoc/en/reference/pcntl/functions pcntl-signal.xml Log: added note about declare (bug #21331) http://cvs.php.net/diff.php/phpdoc/en/reference/pcntl/functions/pcntl-signal.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/pcntl/functions/pcntl-signal.xml diff -u phpdoc/en/reference/pcntl/functions/pcntl-signal.xml:1.7 phpdoc/en/reference/pcntl/functions/pcntl-signal.xml:1.8 --- phpdoc/en/reference/pcntl/functions/pcntl-signal.xml:1.7 Thu Jan 15 07:43:08 2004 +++ phpdoc/en/reference/pcntl/functions/pcntl-signal.xml Thu Feb 26 17:36:01 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/pcntl.xml, last change in rev 1.2 --> <refentry id="function.pcntl-signal"> <refnamediv> @@ -91,6 +91,18 @@ ]]> </programlisting> </example> + <note> + <para> + As of PHP 4.3.0 PCNTL uses ticks as the signal handle callback mechanism, + which is much faster than the previous mechanism. This change follows the + same semantics as using + "<link linkend="control-structures.declare.ticks">user ticks</link>". You + must use the <link linkend="control-structures.declare">declare()</link> + statement to specify the locations in your program where callbacks are + allowed to occur for the signal handler to function properly (as used in + the above example). + </para> + </note> <para> See also <function>pcntl_fork</function> and <function>pcntl_waitpid</function>.

« previous php.doc (#969359254) next »