Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/pcntl/tests/
H A Dpcntl_signal.phpt9 echo "signal dispatched\n";
15 printf("got signal from %s\n", $siginfo['pid'] ?? 'nobody');
32 signal dispatched
33 got signal from %r\d+|nobody%r
39 Warning: pcntl_signal(): Invalid signal %s
42 Warning: pcntl_signal(): Invalid signal %s
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 stoped by signal : ". $signal_print;
82 Process was terminated by signal : SIGTERM
85 Process was stoped 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-7.4/ext/posix/tests/
H A Dposix_kill_error.phpt10 * Description: Send a signal to a process (POSIX.1, 3.3.2)
29 echo "\n-- Testing posix_kill() function with invalid signal --\n";
54 -- Testing posix_kill() function with invalid signal --
/PHP-7.4/sapi/fpm/tests/
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 …
68 $tester->signal('USR2');
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 Dbug74083-concurrent-reload.phpt57 $tester->signal('USR2');
H A Dtester.inc830 * Reload FPM by sending USR2 signal and optionally change config before that.
844 return $this->signal('USR2');
848 * Send signal to the supplied PID or the server PID.
850 * @param string $signal
854 public function signal($signal, int $pid = null)
860 return exec("kill -$signal $pid");
/PHP-7.4/ext/standard/tests/misc/
H A Dtime_nanosleep_basic.phpt20 echo "Interrupted by a signal.\n";
/PHP-7.4/ext/pcntl/
H A Dconfig.m414 #include <signal.h>
/PHP-7.4/ext/standard/tests/general_functions/
H A Dproc_open02.phpt18 usleep(20000); // let the OS run the sleep process before sending the signal
/PHP-7.4/Zend/
H A Dzend_signal.h107 # define zend_signal(signo, handler) signal(signo, handler)
H A DZend.m4305 [whether to enable zend signal handling])],
313 AC_DEFINE(ZEND_SIGNALS, 1, [Use zend signal handling])
317 AC_MSG_CHECKING(whether to enable zend signal handling)
H A Dzend_execute_API.c63 signal(SIGSEGV, original_sigsegv_handler);
65 signal(SIGSEGV, SIG_DFL);
132 original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv); in init_executor()
1320 signal(signo, zend_timeout_handler); in zend_set_timeout_ex()
/PHP-7.4/ext/standard/
H A Dmail.c563 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail()
591 signal(SIGCHLD, sig_handler); in php_mail()
607 signal(SIGCHLD, sig_handler); in php_mail()
631 signal(SIGCHLD, sig_handler); in php_mail()
H A Dexec.c107 sig_handler = signal (SIGCHLD, SIG_DFL); in php_exec()
200 signal(SIGCHLD, sig_handler); in php_exec()
/PHP-7.4/sapi/embed/
H A Dphp_embed.c163 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in php_embed_init()
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c677 static void lsapi_sigsegv( int signal ) in lsapi_sigsegv() argument
729 static void lsapi_sigterm(int signal) in lsapi_sigterm() argument
1384 void litespeed_cleanup(int signal) in litespeed_cleanup() argument
1386 s_stop = signal; in litespeed_cleanup()
1480 signal(SIGPIPE, SIG_IGN); in main()
H A Dlsapilib.c1465 signal(SIGXFSZ, SIG_IGN); in LSAPI_Init()
2832 static void lsapi_cleanup(int signal) in lsapi_cleanup() argument
2834 s_stop = signal; in lsapi_cleanup()
2882 static void lsapi_sigchild( int signal ) in lsapi_sigchild() argument
/PHP-7.4/sapi/phpdbg/
H A Dxml.md615 &lt;signal>
618 - received caught signal
622 - type: type of signal (e.g. SIGINT)
/PHP-7.4/win32/build/
H A Dconfig.w32272 inet.c fnmatch.c sockets.c console.c signal.c");

Completed in 77 milliseconds

12