/PHP-7.1/ext/pcntl/ |
H A D | test-pcntl.php | 6 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 D | README | 4 control (fork(), waitpid(), signal(), WIF's, etc). This is extremely experimental,
|
H A D | config.m4 | 16 #include <signal.h>
|
/PHP-7.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'); 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 D | 001.phpt | 39 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 D | async_signals.phpt | 2 Asynchronous signal handling through VM interrupts
|
H A D | signal_closure_handler.phpt | 2 Closures as a signal handler
|
/PHP-7.1/ext/posix/tests/ |
H A D | posix_kill_error.phpt | 10 * 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 D | posix_kill_variation1.phpt | 11 * Description: Send a signal to a process (POSIX.1, 3.3.2)
|
H A D | posix_kill_variation2.phpt | 11 * Description: Send a signal to a process (POSIX.1, 3.3.2)
|
/PHP-7.1/ext/standard/ |
H A D | mail.c | 366 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail() 394 signal(SIGCHLD, sig_handler); in php_mail() 410 signal(SIGCHLD, sig_handler); in php_mail() 434 signal(SIGCHLD, sig_handler); in php_mail()
|
H A D | exec.c | 107 sig_handler = signal (SIGCHLD, SIG_DFL); in php_exec() 192 signal(SIGCHLD, sig_handler); in php_exec()
|
/PHP-7.1/ext/standard/tests/misc/ |
H A D | time_nanosleep_basic.phpt | 20 echo "Interrupted by a signal.\n";
|
/PHP-7.1/sapi/fpm/tests/ |
H A D | bug68442-signal-reload.phpt | 29 $tester->signal('USR2');
|
H A D | tester.inc | 673 * 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.1/Zend/ |
H A D | zend_signal.h | 109 # define zend_signal(signo, handler) signal(signo, handler)
|
H A D | Zend.m4 | 60 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)
|
H A D | zend_execute_API.c | 63 signal(SIGSEGV, original_sigsegv_handler); 65 signal(SIGSEGV, SIG_DFL); 139 original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv); in init_executor() 385 signal(SIGSEGV, original_sigsegv_handler); in shutdown_executor() 1346 signal(signo, zend_timeout_handler); in zend_set_timeout_ex()
|
/PHP-7.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-7.1/sapi/embed/ |
H A D | php_embed.c | 165 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in php_embed_init()
|
/PHP-7.1/sapi/phpdbg/ |
H A D | Changelog.md | 44 5. Added signal handling to break execution (ctrl-c)
|
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | compress.c | 123 osigpipe = signal(SIGPIPE, SIG_IGN); in file_zmagic() 152 (void)signal(SIGPIPE, osigpipe); in file_zmagic()
|
/PHP-7.1/ext/pdo_mysql/ |
H A D | mysql_driver.c | 497 handler = signal(SIGPIPE, SIG_IGN); 502 signal(SIGPIPE, handler); 507 signal(SIGPIPE, handler);
|
/PHP-7.1/sapi/litespeed/ |
H A D | lsapi_main.c | 1155 void litespeed_cleanup(int signal) in litespeed_cleanup() argument 1157 s_stop = signal; in litespeed_cleanup() 1250 signal(SIGPIPE, SIG_IGN); in main()
|
/PHP-7.1/main/ |
H A D | main.c | 1589 signal(SIGCHLD, sigchld_handler); in sigchld_handler() 1645 signal(SIGCHLD, sigchld_handler); in php_request_startup() 1714 signal(SIGCHLD, sigchld_handler); in php_request_startup() 1746 signal(SIGCHLD, sigchld_handler); in php_request_startup_for_hook()
|