Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/pcntl/tests/
H A Dpcntl_signal.phpt9 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 Dpcntl_realtime_signal.phpt2 pcntl_signal() context of realtime signal
4 <?php if (!defined('SIGRTMIN')) die("skip realtime signal not supported"); ?>
11 printf("got realtime signal from %s, ruid:%s\n", $siginfo['pid'] ?? '', $siginfo['uid'] ?? '');
19 %rgot realtime signal from \d+, ruid:\d+%r
H A D001.phpt42 print "\nProcess was terminated by signal : ". $signal_print;
64 print "\nProcess was stopped by signal : ". $signal_print;
82 Process was terminated by signal : SIGTERM
85 Process was stopped by signal : SIGSTOP
H A Dasync_signals.phpt2 Asynchronous signal handling through VM interrupts
H A Dsignal_closure_handler.phpt2 Closures as a signal handler
/PHP-8.0/ext/posix/tests/
H A Dposix_kill_error.phpt12 echo "\n-- Testing posix_kill() function with invalid signal --\n";
27 -- Testing posix_kill() function with invalid signal --
/PHP-8.0/ext/pcntl/
H A Dpcntl.stub.php20 function pcntl_signal(int $signal, $handler, bool $restart_syscalls = true): bool {} argument
23 function pcntl_signal_get_handler(int $signal) {} argument
H A Dconfig.m414 #include <signal.h>
H A Dpcntl_arginfo.h21 ZEND_ARG_TYPE_INFO(0, signal, IS_LONG, 0)
27 ZEND_ARG_TYPE_INFO(0, signal, IS_LONG, 0)
/PHP-8.0/sapi/fpm/tests/
H A Dbug77023-pm-dynamic-blocking-sigquit.phpt47 $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 Dbug76601-reload-child-signals.phpt39 …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 Dbug68442-signal-reload.phpt29 $tester->signal('USR2');
H A Dbug77934-reload-process-control.phpt30 $tester->signal('USR2');
H A Dreload-uses-sigkill-as-last-measure.phpt39 $tester->signal('USR2');
H A Dtester.inc886 * Reload FPM by sending USR2 signal and optionally change config before that.
901 return $this->signal('USR2');
905 * Reload FPM logs by sending USR1 signal.
912 return $this->signal('USR1');
916 * Send signal to the supplied PID or the server PID.
918 * @param string $signal
923 public function signal($signal, int $pid = null)
928 $cmd = "kill -$signal $pid";
929 $this->trace('Sending signal using command', $cmd, true);
931 return exec("kill -$signal $pid");
[all …]
/PHP-8.0/sapi/fuzzer/
H A Dfuzzer-execute.c80 signal(SIGPIPE, SIG_IGN); in LLVMFuzzerInitialize()
/PHP-8.0/ext/standard/tests/misc/
H A Dtime_nanosleep_basic.phpt20 echo "Interrupted by a signal.\n";
/PHP-8.0/ext/standard/tests/general_functions/
H A Dproc_open02.phpt18 usleep(20000); // let the OS run the sleep process before sending the signal
/PHP-8.0/Zend/
H A Dzend_signal.h107 # define zend_signal(signo, handler) signal(signo, handler)
H A DZend.m4249 [whether to enable zend signal handling])],
257 AC_DEFINE(ZEND_SIGNALS, 1, [Use zend signal handling])
261 AC_MSG_CHECKING(whether to enable zend signal handling)
/PHP-8.0/ext/posix/
H A Dposix.stub.php5 function posix_kill(int $process_id, int $signal): bool {} argument
/PHP-8.0/ext/standard/
H A Dmail.c527 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail()
555 signal(SIGCHLD, sig_handler); in php_mail()
571 signal(SIGCHLD, sig_handler); in php_mail()
595 signal(SIGCHLD, sig_handler); in php_mail()
H A Dexec.c127 sig_handler = signal (SIGCHLD, SIG_DFL); in php_exec()
192 signal(SIGCHLD, sig_handler); in php_exec()
/PHP-8.0/sapi/embed/
H A Dphp_embed.c156 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in php_embed_init()
/PHP-8.0/.github/actions/apt-x64/
H A Daction.yml71 # fix debug build warning: zend_signal: handler was replaced for signal (2) after startup

Completed in 33 milliseconds

12