diff options
author | Wez Furlong <wez@php.net> | 2005-05-07 14:58:12 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-05-07 14:58:12 +0000 |
commit | 660afcaef466ba59cff8419139214b6ae9782c88 (patch) | |
tree | 9ccdeb06de3875cd5ff44b9937e723afe7e046d5 /ext/pcntl/php_pcntl.h | |
parent | 13ba056affb288651c60ab9d18ef2fa8a1b2fb99 (diff) | |
download | php-git-660afcaef466ba59cff8419139214b6ae9782c88.tar.gz |
MFB: Fix for #32974
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
-rw-r--r-- | ext/pcntl/php_pcntl.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h index 590d5779bd..762d249868 100644 --- a/ext/pcntl/php_pcntl.h +++ b/ext/pcntl/php_pcntl.h @@ -58,12 +58,17 @@ PHP_FUNCTION(pcntl_getpriority); PHP_FUNCTION(pcntl_setpriority); #endif +struct php_pcntl_pending_signal { + struct php_pcntl_pending_signal *next; + long signo; +}; + ZEND_BEGIN_MODULE_GLOBALS(pcntl) HashTable php_signal_table; - zend_llist php_signal_queue; - int signal_queue_ready; int processing_signal_queue; + struct php_pcntl_pending_signal *head, *tail, *spares; ZEND_END_MODULE_GLOBALS(pcntl) + #ifdef ZTS #define PCNTL_G(v) TSRMG(pcntl_globals_id, zend_pcntl_globals *, v) #else |