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:
Rasmus Lerdorf 2008-03-19 16:37:49 +00:00
parent c604a1933c
commit b911467d1d
30 changed files with 85 additions and 28 deletions

View file

@ -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 */