Home
last modified time | relevance | path

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

12

/php-src/ext/pcntl/tests/
H A D003.phpt15 SIGTERM => "SIGTERM",
26 pcntl_sigprocmask(SIG_BLOCK, [SIGCHLD, SIGTERM], $old);
47 string(7) "SIGTERM"
55 string(7) "SIGTERM"
61 string(7) "SIGTERM"
H A D002.phpt24 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 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_sigtimedwait_errors.phpt54 $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 Dpcntl_signal_002.phpt9 pcntl_signal(SIGTERM, -1);
H A Dpcntl_sigprocmask_errors.phpt14 $signals = [SIGTERM];
/php-src/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-src/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-src/ext/standard/tests/http/
H A Dserver.inc122 posix_kill($pid, SIGTERM);
/php-src/sapi/litespeed/
H A Dlsapi_main.c696 (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 Dlsapilib.c3076 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 Dpcntl.stub.php206 const SIGTERM = UNKNOWN; define
H A Dpcntl_arginfo.h362 REGISTER_LONG_CONSTANT("SIGTERM", LONG_CONST(SIGTERM), CONST_PERSISTENT); in register_pcntl_symbols()
/php-src/Zend/
H A Dzend_signal.c74 static const int zend_sigs[] = { TIMEOUT_SIG, SIGHUP, SIGINT, SIGQUIT, SIGTERM, SIGUSR1, SIGUSR2 };
/php-src/sapi/cgi/
H A Dcgi_main.c1466 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 Dfastcgi.c425 if (signo == SIGUSR1 || signo == SIGTERM) { in fcgi_signal_handler()
438 sigaction(SIGTERM, &new_sa, NULL); in fcgi_setup_signals()

Completed in 42 milliseconds

12