1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/pcntl: Pack module globals struct

This saves 8 bytes
This commit is contained in:
Gina Peter Banyard
2025-07-06 15:44:08 +01:00
parent 3de6695ae8
commit 22f2a1d47b

View File

@@ -44,11 +44,11 @@ struct php_pcntl_pending_signal {
ZEND_BEGIN_MODULE_GLOBALS(pcntl)
HashTable php_signal_table;
bool processing_signal_queue;
struct php_pcntl_pending_signal *head, *tail, *spares;
int last_error;
volatile bool pending_signals;
bool async_signals;
uint8_t num_signals;
int last_error;
struct php_pcntl_pending_signal *head, *tail, *spares;
ZEND_END_MODULE_GLOBALS(pcntl)
#if defined(ZTS) && defined(COMPILE_DL_PCNTL)