diff options
author | Jason Greene <jason@php.net> | 2002-08-22 04:20:10 +0000 |
---|---|---|
committer | Jason Greene <jason@php.net> | 2002-08-22 04:20:10 +0000 |
commit | 261a60a3604912c70b5176cde5118198ba8a1b70 (patch) | |
tree | 323e79ac5229d4615ad78448e2f08887256dacfc /ext/pcntl/php_pcntl.h | |
parent | faff3a6e8a5892461486a25db178d1105017e8f5 (diff) | |
download | php-git-261a60a3604912c70b5176cde5118198ba8a1b70.tar.gz |
@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
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
-rw-r--r-- | ext/pcntl/php_pcntl.h | 10 |
1 files changed, 2 insertions, 8 deletions
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 <sys/wait.h> #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) |