mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFB
Here are the signal changes from the 5.3 branch that optimizes signal handler registration and switches from longjmp to siglongjmp in order to make signal mask handling consistent across different UNIX operating systems.
This commit is contained in:
parent
c604a1933c
commit
b911467d1d
30 changed files with 85 additions and 28 deletions
|
@ -431,6 +431,14 @@ static time_t php_apache_get_request_time(TSRMLS_D)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ sapi_apache_child_terminate
|
||||
*/
|
||||
static void sapi_apache_child_terminate(TSRMLS_D)
|
||||
{
|
||||
ap_child_terminate((request_rec *)SG(server_context));
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ sapi_module_struct apache_sapi_module
|
||||
*/
|
||||
static sapi_module_struct apache_sapi_module = {
|
||||
|
@ -460,6 +468,7 @@ static sapi_module_struct apache_sapi_module = {
|
|||
sapi_apache_register_server_variables, /* register server variables */
|
||||
php_apache_log_message, /* Log message */
|
||||
php_apache_get_request_time, /* Get request time */
|
||||
sapi_apache_child_terminate,
|
||||
|
||||
NULL, /* php.ini path override */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue