/PHP-8.3/Zend/ |
H A D | zend_signal.c | 59 # define zend_sigprocmask(signo, set, oldset) tsrm_sigmask((signo), (set), (oldset)) argument 61 # define zend_sigprocmask(signo, set, oldset) sigprocmask((signo), (set), (oldset)) argument 127 queue->zend_signal.signo = signo; in zend_signal_handler_defer() 166 queue->zend_signal.signo = 0; in zend_signal_handler_unblock() 197 sigaddset(&sigset, signo); in zend_signal_handler() 204 if (raise(signo) != 0) { in zend_signal_handler() 206 kill(getpid(), signo); in zend_signal_handler() 209 kill(getpid(), signo); in zend_signal_handler() 263 sigaddset(&sigset, signo); in zend_sigaction() 392 int signo; in zend_signal_init() local [all …]
|
H A D | zend_signal.h | 43 int signo; member 94 ZEND_API void zend_signal(int signo, void (*handler)(int)); 95 ZEND_API void zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact); 107 # define zend_signal(signo, handler) signal(signo, handler) argument 108 # define zend_sigaction(signo, act, oldact) sigaction(signo, act, oldact) argument
|
H A D | zend_execute_API.c | 1547 int signo; in zend_timeout_handler() 1563 signo = SIGALRM; in zend_timeout_handler() 1567 signo = SIGPROF; in zend_timeout_handler() 1572 zend_signal(signo, zend_timeout_handler); in zend_timeout_handler() 1581 sigaction(signo, &act, NULL); in zend_timeout_handler() 1583 signal(signo, zend_timeout_handler); in zend_timeout_handler() 1586 sigaddset(&sigset, signo); in zend_timeout_handler()
|
/PHP-8.3/ext/pcntl/tests/ |
H A D | 002.phpt | 29 echo "signo == SIGTERM\n"; 30 var_dump($signo === SIGTERM && $signo === $siginfo['signo']); 41 echo "signo == SIGCHLD\n"; 42 var_dump($signo === SIGCHLD && $signo === $siginfo['signo']); 47 echo "signo === uid\n"; 49 echo "signo === pid\n"; 83 signo == SIGTERM 87 signo == SIGCHLD 91 signo === SIGCHLD 93 signo === uid [all …]
|
H A D | pcntl_signal.phpt | 8 pcntl_signal(SIGTERM, function($signo){ 14 pcntl_signal(SIGUSR1, function($signo, $siginfo){
|
H A D | pcntl_signal_001.phpt | 8 pcntl_signal(1000000, function($signo){
|
H A D | pcntl_signal_dispatch.phpt | 9 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
|
H A D | async_signals.phpt | 10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
|
H A D | signal_closure_handler.phpt | 10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
|
H A D | bug81577_2.phpt | 9 pcntl_signal(SIGTERM, function ($signo) {});
|
H A D | async_signals_2.phpt | 13 pcntl_signal(SIGALRM, function($signo) {
|
H A D | bug81577_3.phpt | 11 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); });
|
H A D | pcntl_signal_get_handler.phpt | 10 function pcntl_test($signo) {}
|
H A D | pcntl_realtime_signal.phpt | 11 pcntl_signal(SIGRTMIN, function ($signo, $siginfo) {
|
H A D | bug81577.phpt | 16 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); });
|
/PHP-8.3/ext/pcntl/ |
H A D | php_signal.c | 24 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) in php_signal4() argument 51 zend_sigaction(signo, &act, &oact); in php_signal4() 60 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) in php_signal() argument 62 return php_signal4(signo, func, restart, 0); in php_signal()
|
H A D | pcntl.c | 145 zend_long signo; in PHP_RSHUTDOWN_FUNCTION() local 600 zend_long signo; in PHP_FUNCTION() local 606 Z_PARAM_LONG(signo) in PHP_FUNCTION() 612 if (signo < 1) { in PHP_FUNCTION() 685 zend_long signo; in PHP_FUNCTION() local 691 if (signo < 1 || signo > 32) { in PHP_FUNCTION() 755 for (signo = 1; signo < PCNTL_G(num_signals); ++signo) { in PHP_FUNCTION() 830 RETURN_LONG(signo); in pcntl_sigwaitinfo() 860 switch(signo) { in pcntl_siginfo_to_zval() 895 if (SIGRTMIN <= signo && signo <= SIGRTMAX) { in pcntl_siginfo_to_zval() [all …]
|
H A D | php_signal.h | 26 Sigfunc *php_signal(int signo, Sigfunc *func, int restart); 27 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);
|
H A D | php_pcntl.h | 38 zend_long signo; member
|
/PHP-8.3/sapi/fpm/fpm/ |
H A D | fpm_signals.c | 142 static void sig_soft_quit(int signo) /* {{{ */ in sig_soft_quit() argument 156 static void sig_handler(int signo) /* {{{ */ in sig_handler() argument 179 s = sig_chars[signo]; in sig_handler()
|
H A D | fpm_process_ctl.h | 19 void fpm_pctl_kill_all(int signo);
|
H A D | fpm_process_ctl.c | 152 void fpm_pctl_kill_all(int signo) /* {{{ */ in fpm_pctl_kill_all() argument 161 int res = kill(child->pid, signo); in fpm_pctl_kill_all() 164 child->wp->config->name, signo, in fpm_pctl_kill_all() 165 fpm_signal_names[signo] ? fpm_signal_names[signo] : "", (int) child->pid); in fpm_pctl_kill_all()
|
/PHP-8.3/sapi/litespeed/ |
H A D | lscriu.c | 151 static void lsapi_criu_signal(int signo, sighandler_t handler) in lsapi_criu_signal() argument 155 sigaction(signo, NULL, &sa); in lsapi_criu_signal() 161 sigaction(signo, &sa, NULL); in lsapi_criu_signal()
|
H A D | lsapilib.c | 339 static void lsapi_signal(int signo, sighandler_t handler) in lsapi_signal() argument 343 sigaction(signo, NULL, &sa); in lsapi_signal() 350 sigaction(signo, &sa, NULL); in lsapi_signal()
|
/PHP-8.3/main/ |
H A D | fastcgi.c | 425 static void fcgi_signal_handler(int signo) in fcgi_signal_handler() argument 427 if (signo == SIGUSR1 || signo == SIGTERM) { in fcgi_signal_handler()
|