From 261a60a3604912c70b5176cde5118198ba8a1b70 Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Thu, 22 Aug 2002 04:20:10 +0000 Subject: @Made major improvents to the pcntl extension(Jason): @ - Greatly improved performance, by switching the signal callback mechanism @ to use ticks @ - Implemented object signal callback ability by using array($obj, $method) @ - Added a restart parameter to pcntl_signal, which allows you to disable @ the default of system call restarting Changed callback hash table to be initialized and destroyed per reqeust (allows the ability to use request life zvals as handles) Nuked warnings Modified test script to adjust to new ticks backend Some slight WS fixes --- ext/pcntl/php_pcntl.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'ext/pcntl/php_pcntl.h') diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h index f06cbcddf2..b982d33102 100644 --- a/ext/pcntl/php_pcntl.h +++ b/ext/pcntl/php_pcntl.h @@ -23,7 +23,7 @@ #include #include "php_signal.h" -#include "zend_extensions.h" +#include "php_ticks.h" extern zend_module_entry pcntl_module_entry; #define phpext_pcntl_ptr &pcntl_module_entry @@ -52,13 +52,7 @@ PHP_FUNCTION(pcntl_signal); PHP_FUNCTION(pcntl_exec); static void pcntl_signal_handler(int); - -/* Zend extension prototypes */ -int pcntl_zend_extension_startup(zend_extension *extension); -void pcntl_zend_extension_shutdown(zend_extension *extension); -void pcntl_zend_extension_activate(void); -void pcntl_zend_extension_deactivate(void); -void pcntl_zend_extension_statement_handler(zend_op_array *op_array); +static void pcntl_tick_handler(); ZEND_BEGIN_MODULE_GLOBALS(pcntl) -- cgit v1.2.1