/php-src/ext/pcntl/tests/ |
H A D | 003.phpt | 15 SIGTERM => "SIGTERM", 26 pcntl_sigprocmask(SIG_BLOCK, [SIGCHLD, SIGTERM], $old); 47 string(7) "SIGTERM" 55 string(7) "SIGTERM" 61 string(7) "SIGTERM"
|
H A D | 002.phpt | 24 pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,(string)SIGTERM)); 28 var_dump(in_array(SIGTERM, $oldset)); 30 posix_kill(posix_getpid(), SIGTERM); 31 $signo = pcntl_sigwaitinfo(array(SIGTERM), $siginfo); 32 echo "signo == SIGTERM\n"; 33 var_dump($signo === SIGTERM && $signo === $siginfo['signo']); 42 posix_kill($pid, SIGTERM); 65 signo == SIGTERM
|
H A D | pcntl_signal_dispatch.phpt | 9 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; }); 12 posix_kill(posix_getpid(), SIGTERM);
|
H A D | 001.phpt | 38 posix_kill($pid, SIGTERM); 42 if ($signal_print==SIGTERM) $signal_print="SIGTERM"; 83 Process was terminated by signal : SIGTERM
|
H A D | async_signals.phpt | 10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; }); 13 posix_kill(posix_getpid(), SIGTERM);
|
H A D | signal_closure_handler.phpt | 10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; }); 13 posix_kill(posix_getpid(), SIGTERM);
|
H A D | bug81577_2.phpt | 9 pcntl_signal(SIGTERM, function ($signo) {}); 11 $a = [1, posix_kill(posix_getpid(), SIGTERM), 2];
|
H A D | bug81577_3.phpt | 11 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); }); 13 array_merge([1], [2]) + posix_kill(posix_getpid(), SIGTERM);
|
H A D | pcntl_signal.phpt | 8 pcntl_signal(SIGTERM, function($signo){ 11 posix_kill(posix_getpid(), SIGTERM); 41 posix_kill(posix_getpid(), SIGTERM);
|
H A D | bug81577.phpt | 16 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); }); 20 posix_kill(posix_getpid(), SIGTERM) + C::$cond;
|
H A D | pcntl_sigtimedwait_errors.phpt | 54 $signals = [SIGTERM]; 74 $signal_no = var_dump(pcntl_sigtimedwait([SIGTERM], $signal_infos, 0, 0)); 81 $signal_no = var_dump(pcntl_sigtimedwait([SIGTERM], $signal_infos, 0, 1_000_000_000));
|
H A D | pcntl_signal_002.phpt | 9 pcntl_signal(SIGTERM, -1);
|
H A D | pcntl_sigprocmask_errors.phpt | 14 $signals = [SIGTERM];
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_signals.c | 71 #ifdef SIGTERM 72 [SIGTERM] = "SIGTERM", 159 [SIGTERM] = 'T', in sig_handler() 208 if (0 > sigaction(SIGTERM, &act, 0) || in fpm_signals_init_main() 241 if (0 > sigaction(SIGTERM, &act_dfl, 0) || in fpm_signals_init_child() 291 if (0 > sigaddset(&child_block_sigset, SIGTERM) || in fpm_signals_init_mask()
|
H A D | fpm_process_ctl.c | 131 s = SIGTERM; in fpm_pctl_kill() 189 sig = SIGTERM; in fpm_pctl_action_next() 196 sig = SIGTERM; in fpm_pctl_action_next()
|
/php-src/sapi/fpm/tests/ |
H A D | reload-uses-sigkill-as-last-measure.phpt | 2 FPM: If SIGQUIT and SIGTERM during reloading fail, SIGKILL should be sent 34 pcntl_sigprocmask(SIG_BLOCK, [SIGQUIT, SIGTERM]);
|
H A D | bug77023-pm-dynamic-blocking-sigquit.phpt | 33 pcntl_sigprocmask(SIG_BLOCK, [SIGQUIT, SIGTERM]);
|
/php-src/ext/standard/tests/http/ |
H A D | server.inc | 122 posix_kill($pid, SIGTERM);
|
/php-src/sapi/litespeed/ |
H A D | lsapi_main.c | 696 (void)sigaction(SIGTERM, &act, NULL); in lsapi_clean_shutdown() 755 (void)sigaction( SIGTERM, &act, NULL); in lsapi_module_main() 1384 if( sigaction( SIGTERM, &act, &old_term ) || in start_children() 1399 sigaction( SIGTERM, &old_term, 0 ); in start_children()
|
H A D | lsapilib.c | 3076 tobekilled = SIGTERM; in lsapi_check_child_status() 3175 if( sigaction( SIGTERM, &act, &old_term ) || in lsapi_prefork_server_accept() 3308 sigaction( SIGTERM, &old_term, 0 ); in lsapi_prefork_server_accept() 3446 if (sigaction(SIGTERM, &act, &old_term) || in LSAPI_Accept_Before_Fork() 3553 sigaction(SIGTERM, &old_term, 0); in LSAPI_Accept_Before_Fork()
|
/php-src/ext/pcntl/ |
H A D | pcntl.stub.php | 206 const SIGTERM = UNKNOWN; define
|
H A D | pcntl_arginfo.h | 362 REGISTER_LONG_CONSTANT("SIGTERM", LONG_CONST(SIGTERM), CONST_PERSISTENT); in register_pcntl_symbols()
|
/php-src/Zend/ |
H A D | zend_signal.c | 74 static const int zend_sigs[] = { TIMEOUT_SIG, SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGUSR1, SIGUSR2 };
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 1466 sigaction(SIGTERM, &old_term, 0); 1469 kill(-pgroup, SIGTERM); 2020 if (sigaction(SIGTERM, &act, &old_term) || 2047 sigaction(SIGTERM, &old_term, 0);
|
/php-src/main/ |
H A D | fastcgi.c | 425 if (signo == SIGUSR1 || signo == SIGTERM) { in fcgi_signal_handler() 438 sigaction(SIGTERM, &new_sa, NULL); in fcgi_setup_signals()
|