Home
last modified time | relevance | path

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

12

/php-src/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
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 Dpcntl_signal_001.phpt2 pcntl_signal() signal greater than max available.
16 pcntl_signal(): Argument #1 ($signal) must be less than %d
H A D001.phpt43 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 Dpcntl_sigwaitinfo_errors.phpt37 $signals = ["not a signal"];
44 /* Unlikely valid signal */
H A Dasync_signals.phpt2 Asynchronous signal handling through VM interrupts
H A Dsignal_closure_handler.phpt2 Closures as a signal handler
H A Dpcntl_sigtimedwait_errors.phpt21 /* Invalid signal numbers */
44 /* Invalid signal type */
46 $signals = ["not a signal"];
H A Dpcntl_sigprocmask_errors.phpt45 $signals = ["not a signal"];
52 /* Unlikely valid signal */
H A Dwaiting_on_sigchild_pcntl_wait.phpt24 // Sleeping ensures we get to add the process to the list before the signal is invoked.
/php-src/ext/posix/tests/
H A Dposix_kill_error.phpt10 echo "\n-- Testing posix_kill() function with invalid signal --\n";
25 -- Testing posix_kill() function with invalid signal --
/php-src/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.phpt41 $tester->signal('USR2');
/php-src/ext/standard/tests/misc/
H A Dtime_nanosleep_basic.phpt20 echo "Interrupted by a signal.\n";
/php-src/ext/pcntl/
H A Dpcntl.stub.php937 function pcntl_signal(int $signal, $handler, bool $restart_syscalls = true): bool {} argument
940 function pcntl_signal_get_handler(int $signal) {} argument
1001 function pcntl_rfork(int $flags, int $signal = 0): int{} argument
H A Dconfig.m431 AC_CHECK_TYPE([siginfo_t],[PCNTL_CFLAGS="-DHAVE_STRUCT_SIGINFO_T"],,[#include <signal.h>])
/php-src/ext/standard/
H A Dmail.c520 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail()
548 signal(SIGCHLD, sig_handler); in php_mail()
564 signal(SIGCHLD, sig_handler); in php_mail()
588 signal(SIGCHLD, sig_handler); in php_mail()
/php-src/Zend/
H A Dzend_signal.h107 # define zend_signal(signo, handler) signal(signo, handler)
/php-src/ext/standard/tests/general_functions/
H A Dproc_open02.phpt18 usleep(20000); // let the OS run the sleep process before sending the signal
/php-src/sapi/fuzzer/
H A Dfuzzer-execute-common.h104 signal(SIGPIPE, SIG_IGN); in fuzzer_init_php_for_execute()
/php-src/sapi/embed/
H A Dphp_embed.c166 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in php_embed_init()
/php-src/ext/posix/
H A Dposix.stub.php307 function posix_kill(int $process_id, int $signal): bool {} argument

Completed in 28 milliseconds

12