mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
HANDLE_BLOCK_INTERRUPTIONS() is not used by SAPIs anymore. It may be useful only when PHP configured with --enable-zend-signals.
This commit is contained in:
@@ -45,8 +45,11 @@
|
||||
#endif
|
||||
|
||||
#ifndef ZEND_SIGNALS
|
||||
# define HANDLE_BLOCK_INTERRUPTIONS() if (zend_block_interruptions) { zend_block_interruptions(); }
|
||||
# define HANDLE_UNBLOCK_INTERRUPTIONS() if (zend_unblock_interruptions) { zend_unblock_interruptions(); }
|
||||
/* block/unblock interruptions callbacks might be used by SAPI, and were used
|
||||
* by mod_php for Apache 1, but now they are not usefull anymore.
|
||||
*/
|
||||
# define HANDLE_BLOCK_INTERRUPTIONS() /*if (zend_block_interruptions) { zend_block_interruptions(); }*/
|
||||
# define HANDLE_UNBLOCK_INTERRUPTIONS() /*if (zend_unblock_interruptions) { zend_unblock_interruptions(); }*/
|
||||
#else
|
||||
# define HANDLE_BLOCK_INTERRUPTIONS() ZEND_SIGNAL_BLOCK_INTERRUPUTIONS()
|
||||
# define HANDLE_UNBLOCK_INTERRUPTIONS() ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS()
|
||||
|
||||
Reference in New Issue
Block a user