From 9beb3763dbafb5421f4a263510bab73f8d7b80c2 Mon Sep 17 00:00:00 2001 From: Jille Timmermans Date: Wed, 11 Jun 2014 17:34:34 +0200 Subject: pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary --- ext/pcntl/php_pcntl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/pcntl/php_pcntl.h') 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 -- cgit v1.2.1