/PHP-8.2/ext/pcntl/tests/ |
H A D | 002.phpt | 21 pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,(string)SIGTERM)); 25 var_dump(in_array(SIGTERM, $oldset)); 27 posix_kill(posix_getpid(), SIGTERM); 28 $signo = pcntl_sigwaitinfo(array(SIGTERM), $siginfo); 29 echo "signo == SIGTERM\n"; 30 var_dump($signo === SIGTERM && $signo === $siginfo['signo']); 39 posix_kill($pid, SIGTERM); 61 var_dump(pcntl_sigprocmask(PHP_INT_MAX, array(SIGTERM))); 72 var_dump(pcntl_sigtimedwait(array(SIGTERM), $signo, PHP_INT_MAX, PHP_INT_MAX)); 83 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_signal_002.phpt | 9 pcntl_signal(SIGTERM, -1);
|
H A D | 003.phpt | 16 pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,SIGTERM), $old);
|
/PHP-8.2/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-8.2/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-8.2/ext/standard/tests/http/ |
H A D | server.inc | 122 posix_kill($pid, SIGTERM);
|
/PHP-8.2/ext/pcntl/ |
H A D | pcntl.stub.php | 128 const SIGTERM = UNKNOWN; define
|
H A D | pcntl_arginfo.h | 262 REGISTER_LONG_CONSTANT("SIGTERM", LONG_CONST(SIGTERM), CONST_PERSISTENT); in register_pcntl_symbols()
|
/PHP-8.2/sapi/litespeed/ |
H A D | lsapi_main.c | 697 (void)sigaction(SIGTERM, &act, NULL); in lsapi_clean_shutdown() 756 (void)sigaction( SIGTERM, &act, NULL); in lsapi_module_main() 1388 if( sigaction( SIGTERM, &act, &old_term ) || in start_children() 1403 sigaction( SIGTERM, &old_term, 0 ); in start_children()
|
H A D | lsapilib.c | 3080 tobekilled = SIGTERM; in lsapi_check_child_status() 3179 if( sigaction( SIGTERM, &act, &old_term ) || in lsapi_prefork_server_accept() 3312 sigaction( SIGTERM, &old_term, 0 ); in lsapi_prefork_server_accept() 3450 if (sigaction(SIGTERM, &act, &old_term) || in LSAPI_Accept_Before_Fork() 3557 sigaction(SIGTERM, &old_term, 0); in LSAPI_Accept_Before_Fork()
|
/PHP-8.2/Zend/ |
H A D | zend_signal.c | 74 static int zend_sigs[] = { TIMEOUT_SIG, SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGUSR1, SIGUSR2 };
|
/PHP-8.2/sapi/cgi/ |
H A D | cgi_main.c | 1463 sigaction(SIGTERM, &old_term, 0); 1466 kill(-pgroup, SIGTERM); 2010 if (sigaction(SIGTERM, &act, &old_term) || 2037 sigaction(SIGTERM, &old_term, 0);
|
/PHP-8.2/main/ |
H A D | fastcgi.c | 427 if (signo == SIGUSR1 || signo == SIGTERM) { in fcgi_signal_handler() 440 sigaction(SIGTERM, &new_sa, NULL); in fcgi_setup_signals()
|
/PHP-8.2/ext/standard/ |
H A D | proc_open.c | 310 zend_long sig_no = SIGTERM; in PHP_FUNCTION()
|
/PHP-8.2/ext/opcache/ |
H A D | ZendAccelerator.c | 843 int signal = SIGTERM; in kill_all_lockers()
|