|
49 | 49 | /* block/unblock interruptions callbacks might be used by SAPI, and were used
|
50 | 50 | * by mod_php for Apache 1, but now they are not usefull anymore.
|
51 | 51 | */
|
52 |
| -# define HANDLE_BLOCK_INTERRUPTIONS() /*if (zend_block_interruptions) { zend_block_interruptions(); }*/ |
53 |
| -# define HANDLE_UNBLOCK_INTERRUPTIONS() /*if (zend_unblock_interruptions) { zend_unblock_interruptions(); }*/ |
| 52 | +# define HANDLE_BLOCK_INTERRUPTIONS() |
| 53 | +# define HANDLE_UNBLOCK_INTERRUPTIONS() |
54 | 54 | #else
|
55 | 55 | # define HANDLE_BLOCK_INTERRUPTIONS() ZEND_SIGNAL_BLOCK_INTERRUPUTIONS()
|
56 | 56 | # define HANDLE_UNBLOCK_INTERRUPTIONS() ZEND_SIGNAL_UNBLOCK_INTERRUPTIONS()
|
@@ -194,8 +194,6 @@ typedef struct _zend_utility_functions {
|
194 | 194 | size_t (*write_function)(const char *str, size_t str_length);
|
195 | 195 | FILE *(*fopen_function)(const char *filename, zend_string **opened_path);
|
196 | 196 | void (*message_handler)(zend_long message, const void *data);
|
197 |
| - void (*block_interruptions)(void); |
198 |
| - void (*unblock_interruptions)(void); |
199 | 197 | zval *(*get_configuration_directive)(zend_string *name);
|
200 | 198 | void (*ticks_function)(int ticks);
|
201 | 199 | void (*on_timeout)(int seconds);
|
@@ -270,8 +268,6 @@ BEGIN_EXTERN_C()
|
270 | 268 | extern ZEND_API size_t (*zend_printf)(const char *format, ...) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 1, 2);
|
271 | 269 | extern ZEND_API zend_write_func_t zend_write;
|
272 | 270 | extern ZEND_API FILE *(*zend_fopen)(const char *filename, zend_string **opened_path);
|
273 |
| -extern ZEND_API void (*zend_block_interruptions)(void); |
274 |
| -extern ZEND_API void (*zend_unblock_interruptions)(void); |
275 | 271 | extern ZEND_API void (*zend_ticks_function)(int ticks);
|
276 | 272 | extern ZEND_API void (*zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 4, 0);
|
277 | 273 | extern ZEND_API void (*zend_on_timeout)(int seconds);
|
|
0 commit comments