Home
last modified time | relevance | path

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

12

/PHP-7.2/ext/pcntl/
H A Dtest-pcntl.php6 function alarm_handle($signal){ argument
7 if ($signal==SIGALRM) print "Child: Caught SIGALRM!!!\n";
10 function usr1_handle($signal){ argument
11 if ($signal==SIGUSR1) print "Child: Caught SIGUSR1!!!\n";
H A DREADME4 control (fork(), waitpid(), signal(), WIF's, etc). This is extremely experimental,
H A Dconfig.m416 #include <signal.h>
/PHP-7.2/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.phpt39 print "\nProcess was terminated by signal : ". $signal_print;
61 print "\nProcess was stoped by signal : ". $signal_print;
79 Process was terminated by signal : SIGTERM
82 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.2/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 --
H A Dposix_kill_variation1.phpt11 * Description: Send a signal to a process (POSIX.1, 3.3.2)
H A Dposix_kill_variation2.phpt11 * Description: Send a signal to a process (POSIX.1, 3.3.2)
/PHP-7.2/ext/standard/tests/misc/
H A Dtime_nanosleep_basic.phpt20 echo "Interrupted by a signal.\n";
/PHP-7.2/sapi/fpm/tests/
H A Dbug77934-reload-process-control.phpt30 $tester->signal('USR2');
H A Dbug68442-signal-reload.phpt29 $tester->signal('USR2');
H A Dtester.inc673 * Send signal to the supplied PID or the server PID.
675 * @param string $signal
679 public function signal($signal, int $pid = null)
685 return exec("kill -$signal $pid");
/PHP-7.2/Zend/
H A Dzend_signal.h109 # define zend_signal(signo, handler) signal(signo, handler)
H A DZend.m460 signal.h \
373 [ --disable-zend-signals whether to enable zend signal handling],[
385 AC_DEFINE(ZEND_SIGNALS, 1, [Use zend signal handling])
389 AC_MSG_CHECKING(whether to enable zend signal handling)
/PHP-7.2/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.2/ext/standard/
H A Dmail.c569 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail()
597 signal(SIGCHLD, sig_handler); in php_mail()
613 signal(SIGCHLD, sig_handler); in php_mail()
637 signal(SIGCHLD, sig_handler); in php_mail()
H A Dexec.c111 sig_handler = signal (SIGCHLD, SIG_DFL); in php_exec()
196 signal(SIGCHLD, sig_handler); in php_exec()
/PHP-7.2/sapi/embed/
H A Dphp_embed.c165 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in php_embed_init()
/PHP-7.2/sapi/phpdbg/
H A DChangelog.md44 5. Added signal handling to break execution (ctrl-c)
/PHP-7.2/sapi/litespeed/
H A Dlsapi_main.c699 static void lsapi_sigsegv( int signal ) in lsapi_sigsegv() argument
751 static void lsapi_sigterm(int signal) in lsapi_sigterm() argument
1412 void litespeed_cleanup(int signal) in litespeed_cleanup() argument
1414 s_stop = signal; in litespeed_cleanup()
1509 signal(SIGPIPE, SIG_IGN); in main()
/PHP-7.2/ext/pdo_mysql/
H A Dmysql_driver.c538 handler = signal(SIGPIPE, SIG_IGN);
543 signal(SIGPIPE, handler);
548 signal(SIGPIPE, handler);
/PHP-7.2/ext/fileinfo/libmagic/
H A Dcompress.c162 osigpipe = signal(SIGPIPE, SIG_IGN); in file_zmagic()
234 (void)signal(SIGPIPE, osigpipe); in file_zmagic()

Completed in 60 milliseconds

12