/PHP-8.1/Zend/ |
H A D | zend_signal.c | 57 # define zend_sigprocmask(signo, set, oldset) tsrm_sigmask((signo), (set), (oldset)) argument 59 # define zend_sigprocmask(signo, set, oldset) sigprocmask((signo), (set), (oldset)) argument 125 queue->zend_signal.signo = signo; in zend_signal_handler_defer() 164 queue->zend_signal.signo = 0; in zend_signal_handler_unblock() 196 sigaddset(&sigset, signo); in zend_signal_handler() 203 if (raise(signo) != 0) { in zend_signal_handler() 205 kill(getpid(), signo); in zend_signal_handler() 208 kill(getpid(), signo); in zend_signal_handler() 262 sigaddset(&sigset, signo); in zend_sigaction() 391 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 | 1474 int signo; in zend_timeout_handler() 1483 signo = SIGALRM; in zend_timeout_handler() 1487 signo = SIGPROF; in zend_timeout_handler() 1492 zend_signal(signo, zend_timeout_handler); in zend_timeout_handler() 1501 sigaction(signo, &act, NULL); in zend_timeout_handler() 1503 signal(signo, zend_timeout_handler); in zend_timeout_handler() 1506 sigaddset(&sigset, signo); in zend_timeout_handler()
|
/PHP-8.1/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_dispatch.phpt | 9 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 | async_signals.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 | pcntl_signal_get_handler.phpt | 10 function pcntl_test($signo) {}
|
H A D | bug81577_3.phpt | 11 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); });
|
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.1/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 | 490 zend_long signo; in PHP_RSHUTDOWN_FUNCTION() local 936 zend_long signo; in PHP_FUNCTION() local 945 if (signo < 1) { in PHP_FUNCTION() 1018 zend_long signo; in PHP_FUNCTION() local 1024 if (signo < 1 || signo > 32) { in PHP_FUNCTION() 1087 for (signo = 1; signo < PCNTL_G(num_signals); ++signo) { in PHP_FUNCTION() 1107 int signo; in pcntl_sigwaitinfo() local 1156 RETURN_LONG(signo); in pcntl_sigwaitinfo() 1186 switch(signo) { in pcntl_siginfo_to_zval() 1221 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.1/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.1/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 | 338 static void lsapi_signal(int signo, sighandler_t handler) in lsapi_signal() argument 342 sigaction(signo, NULL, &sa); in lsapi_signal() 349 sigaction(signo, &sa, NULL); in lsapi_signal()
|
/PHP-8.1/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()
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg.c | 1015 static inline void phpdbg_sigint_handler(int signo) /* {{{ */ in phpdbg_sigint_handler() argument
|