/PHP-8.1/ext/pcntl/tests/ |
H A D | pcntl_signal.phpt | 9 echo "signal dispatched\n"; 15 printf("got signal from %s\n", $siginfo['pid'] ?? 'nobody'); 45 signal dispatched 46 got signal from %r\d+|nobody%r 48 pcntl_signal(): Argument #1 ($signal) must be greater than or equal to 1 49 pcntl_signal(): Argument #1 ($signal) must be greater than or equal to 1
|
H A D | pcntl_realtime_signal.phpt | 2 pcntl_signal() context of realtime signal 7 <?php if (!defined('SIGRTMIN')) die("skip realtime signal not supported"); ?> 12 printf("got realtime signal from %s, ruid:%s\n", $siginfo['pid'] ?? '', $siginfo['uid'] ?? ''); 20 %rgot realtime signal from \d+, ruid:\d+%r
|
H A D | 001.phpt | 43 print "\nProcess was terminated by signal : ". $signal_print; 65 print "\nProcess was stopped by signal : ". $signal_print; 83 Process was terminated by signal : SIGTERM 86 Process was stopped by signal : SIGSTOP
|
H A D | signal_closure_handler.phpt | 2 Closures as a signal handler
|
H A D | async_signals.phpt | 2 Asynchronous signal handling through VM interrupts
|
H A D | waiting_on_sigchild_pcntl_wait.phpt | 24 // Sleeping ensures we get to add the process to the list before the signal is invoked.
|
/PHP-8.1/ext/pcntl/ |
H A D | pcntl.stub.php | 20 function pcntl_signal(int $signal, $handler, bool $restart_syscalls = true): bool {} argument 23 function pcntl_signal_get_handler(int $signal) {} argument 84 function pcntl_rfork(int $flags, int $signal = 0): int{} argument
|
H A D | pcntl_arginfo.h | 21 ZEND_ARG_TYPE_INFO(0, signal, IS_LONG, 0) 27 ZEND_ARG_TYPE_INFO(0, signal, IS_LONG, 0) 125 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, signal, IS_LONG, 0, "0")
|
H A D | config.m4 | 14 #include <signal.h>
|
/PHP-8.1/ext/posix/tests/ |
H A D | posix_kill_error.phpt | 10 echo "\n-- Testing posix_kill() function with invalid signal --\n"; 25 -- Testing posix_kill() function with invalid signal --
|
/PHP-8.1/sapi/fpm/tests/ |
H A D | bug77023-pm-dynamic-blocking-sigquit.phpt | 47 $tester->expectLogWarning('child \\d+ exited on signal 9 \\(SIGKILL\\) after \\d+.\\d+ seconds from… 49 $tester->expectLogWarning('child \\d+ exited on signal 9 \\(SIGKILL\\) after \\d+.\\d+ seconds from…
|
H A D | bug76601-reload-child-signals.phpt | 39 …BUG: pid 21315, fpm_pctl_kill_all(), line 161: [pool unconfined] sending signal 9 SIGKILL to child… 40 …, fpm_children_bury(), line 259: [pool unconfined] child 21337 exited on signal 9 (SIGKILL) after …
|
H A D | bug68442-signal-reload.phpt | 29 $tester->signal('USR2');
|
H A D | bug77934-reload-process-control.phpt | 30 $tester->signal('USR2');
|
H A D | reload-uses-sigkill-as-last-measure.phpt | 41 $tester->signal('USR2');
|
H A D | tester.inc | 916 * Reload FPM by sending USR2 signal and optionally change config before that. 931 return $this->signal('USR2'); 935 * Reload FPM logs by sending USR1 signal. 942 return $this->signal('USR1'); 946 * Send signal to the supplied PID or the server PID. 948 * @param string $signal 953 public function signal($signal, int $pid = null) 958 $cmd = "kill -$signal $pid"; 959 $this->trace('Sending signal using command', $cmd, true); 961 return exec("kill -$signal $pid"); [all …]
|
/PHP-8.1/ext/standard/tests/misc/ |
H A D | time_nanosleep_basic.phpt | 20 echo "Interrupted by a signal.\n";
|
/PHP-8.1/ext/standard/ |
H A D | mail.c | 481 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail() 509 signal(SIGCHLD, sig_handler); in php_mail() 525 signal(SIGCHLD, sig_handler); in php_mail() 549 signal(SIGCHLD, sig_handler); in php_mail()
|
H A D | exec.c | 127 sig_handler = signal (SIGCHLD, SIG_DFL); in php_exec() 192 signal(SIGCHLD, sig_handler); in php_exec()
|
/PHP-8.1/sapi/fuzzer/ |
H A D | fuzzer-execute.c | 101 signal(SIGPIPE, SIG_IGN); in LLVMFuzzerInitialize()
|
/PHP-8.1/Zend/ |
H A D | zend_signal.h | 107 # define zend_signal(signo, handler) signal(signo, handler)
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | proc_open02.phpt | 18 usleep(20000); // let the OS run the sleep process before sending the signal
|
/PHP-8.1/ext/posix/ |
H A D | posix.stub.php | 5 function posix_kill(int $process_id, int $signal): bool {} argument
|
/PHP-8.1/.github/actions/setup-oracle/ |
H A D | action.yml | 23 # fix debug build warning: zend_signal: handler was replaced for signal (2) after startup
|
/PHP-8.1/sapi/embed/ |
H A D | php_embed.c | 169 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in php_embed_init()
|