summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_pcntl.h
diff options
context:
space:
mode:
authorJulien Pauli <jpauli@php.net>2014-12-12 18:24:29 +0100
committerJulien Pauli <jpauli@php.net>2014-12-12 18:24:29 +0100
commit8ff4abb468fd8cae57611e8aa4b8e7c00046eb49 (patch)
treeb73d1458d087e2c6017aa2b12298bcbdb893aa61 /ext/pcntl/php_pcntl.h
parent0adfa03397edcde8cba3bae2032b1f2ef26ea760 (diff)
parent3769aee67c19647041567b82a76d2d46955f47aa (diff)
downloadphp-git-8ff4abb468fd8cae57611e8aa4b8e7c00046eb49.tar.gz
Merge branch 'PHP-5.6'
* PHP-5.6: 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h
index d02d6867f4..fcae3e0466 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