From e6d1fdd51994a3ba600fe8cad61b8729eb5db745 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 23 Jan 2003 22:59:07 +0000 Subject: [PATCH] Added some 4.3.0 changes to the docs, see bug #20189. This is information out of an email to php-dev from Jason Greene on the subject. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@113189 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pcntl/reference.xml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/reference/pcntl/reference.xml b/reference/pcntl/reference.xml index 2a12cb7309..b0c83eda19 100644 --- a/reference/pcntl/reference.xml +++ b/reference/pcntl/reference.xml @@ -1,5 +1,5 @@ - + Process Control Functions PCNTL @@ -21,8 +21,26 @@ systems documentation including fork(2), waitpid(2) and signal(2) or a comprehensive reference such as Advanced Programming in the UNIX Environment by W. Richard Stevens (Addison-Wesley). - - ¬e.no-windows.extension; + + + PCNTL now uses ticks as the signal handle callback mechanism, which is + much faster than the previous mechanism. This change follows the same + semantics as using "user ticks". You use the declare + statement to specify the locations in your program where callbacks are + allowed to occur. This allows you to minimize the overhead of handling + asynchronous events. In the past, compiling PHP with pcntl enabled would + always incur this overhead, whether or not your script actually used + pcntl. + + + There is one adjustment that all pcntl scripts prior to PHP 4.3.0 must + make for them to work which is to either to use + declare on a section where you wish to allow + callbacks or to just enable it across the entire script using + the new global syntax of declare. + + + ¬e.no-windows.extension;
@@ -54,6 +72,7 @@