Home
last modified time | relevance | path

Searched refs:SIGTERM (Results 1 – 25 of 25) sorted by relevance

/PHP-8.2/ext/pcntl/tests/
H A D002.phpt21 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 Dpcntl_signal_dispatch.phpt9 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
12 posix_kill(posix_getpid(), SIGTERM);
H A D001.phpt38 posix_kill($pid, SIGTERM);
42 if ($signal_print==SIGTERM) $signal_print="SIGTERM";
83 Process was terminated by signal : SIGTERM
H A Dasync_signals.phpt10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
13 posix_kill(posix_getpid(), SIGTERM);
H A Dsignal_closure_handler.phpt10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
13 posix_kill(posix_getpid(), SIGTERM);
H A Dbug81577_2.phpt9 pcntl_signal(SIGTERM, function ($signo) {});
11 $a = [1, posix_kill(posix_getpid(), SIGTERM), 2];
H A Dbug81577_3.phpt11 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); });
13 array_merge([1], [2]) + posix_kill(posix_getpid(), SIGTERM);
H A Dpcntl_signal.phpt8 pcntl_signal(SIGTERM, function($signo){
11 posix_kill(posix_getpid(), SIGTERM);
41 posix_kill(posix_getpid(), SIGTERM);
H A Dbug81577.phpt16 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); });
20 posix_kill(posix_getpid(), SIGTERM) + C::$cond;
H A Dpcntl_signal_002.phpt9 pcntl_signal(SIGTERM, -1);
H A D003.phpt16 pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,SIGTERM), $old);
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_signals.c71 #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 Dfpm_process_ctl.c131 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 Dreload-uses-sigkill-as-last-measure.phpt2 FPM: If SIGQUIT and SIGTERM during reloading fail, SIGKILL should be sent
34 pcntl_sigprocmask(SIG_BLOCK, [SIGQUIT, SIGTERM]);
H A Dbug77023-pm-dynamic-blocking-sigquit.phpt33 pcntl_sigprocmask(SIG_BLOCK, [SIGQUIT, SIGTERM]);
/PHP-8.2/ext/standard/tests/http/
H A Dserver.inc122 posix_kill($pid, SIGTERM);
/PHP-8.2/ext/pcntl/
H A Dpcntl.stub.php128 const SIGTERM = UNKNOWN; define
H A Dpcntl_arginfo.h262 REGISTER_LONG_CONSTANT("SIGTERM", LONG_CONST(SIGTERM), CONST_PERSISTENT); in register_pcntl_symbols()
/PHP-8.2/sapi/litespeed/
H A Dlsapi_main.c697 (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 Dlsapilib.c3080 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 Dzend_signal.c74 static int zend_sigs[] = { TIMEOUT_SIG, SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGUSR1, SIGUSR2 };
/PHP-8.2/sapi/cgi/
H A Dcgi_main.c1463 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 Dfastcgi.c427 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 Dproc_open.c310 zend_long sig_no = SIGTERM; in PHP_FUNCTION()
/PHP-8.2/ext/opcache/
H A DZendAccelerator.c843 int signal = SIGTERM; in kill_all_lockers()

Completed in 67 milliseconds