diff options
| author | Jille Timmermans <jille@quis.cx> | 2014-06-11 17:34:34 +0200 |
|---|---|---|
| committer | Julien Pauli <jpauli@php.net> | 2014-12-12 18:16:12 +0100 |
| commit | 9beb3763dbafb5421f4a263510bab73f8d7b80c2 (patch) | |
| tree | cc8df304d88ca844db8ac465b1f5db58b0e1a5a6 /ext/pcntl/php_pcntl.h | |
| parent | d43d0663af9d7f11985fa6994f785b2dd5cb0faa (diff) | |
| download | php-git-9beb3763dbafb5421f4a263510bab73f8d7b80c2.tar.gz | |
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
Diffstat (limited to 'ext/pcntl/php_pcntl.h')
| -rw-r--r-- | ext/pcntl/php_pcntl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h index caafc10d19..44e91166ae 100644 --- a/ext/pcntl/php_pcntl.h +++ b/ext/pcntl/php_pcntl.h @@ -69,6 +69,7 @@ ZEND_BEGIN_MODULE_GLOBALS(pcntl) int processing_signal_queue; struct php_pcntl_pending_signal *head, *tail, *spares; int last_error; + volatile char pending_signals; ZEND_END_MODULE_GLOBALS(pcntl) #ifdef ZTS |
