Home
last modified time | relevance | path

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

/PHP-8.1/Zend/
H A Dzend_signal.c57 # 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 Dzend_signal.h43 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 Dzend_execute_API.c1474 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 D002.phpt29 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 Dpcntl_signal.phpt8 pcntl_signal(SIGTERM, function($signo){
14 pcntl_signal(SIGUSR1, function($signo, $siginfo){
H A Dpcntl_signal_dispatch.phpt9 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
H A Dsignal_closure_handler.phpt10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
H A Dasync_signals.phpt10 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
H A Dbug81577_2.phpt9 pcntl_signal(SIGTERM, function ($signo) {});
H A Dasync_signals_2.phpt13 pcntl_signal(SIGALRM, function($signo) {
H A Dpcntl_signal_get_handler.phpt10 function pcntl_test($signo) {}
H A Dbug81577_3.phpt11 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); });
H A Dpcntl_realtime_signal.phpt11 pcntl_signal(SIGRTMIN, function ($signo, $siginfo) {
H A Dbug81577.phpt16 pcntl_signal(SIGTERM, function ($signo) { throw new Exception("Signal"); });
/PHP-8.1/ext/pcntl/
H A Dphp_signal.c24 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 Dpcntl.c490 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 Dphp_signal.h26 Sigfunc *php_signal(int signo, Sigfunc *func, int restart);
27 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);
H A Dphp_pcntl.h38 zend_long signo; member
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_signals.c142 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 Dfpm_process_ctl.h19 void fpm_pctl_kill_all(int signo);
H A Dfpm_process_ctl.c152 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 Dlscriu.c151 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 Dlsapilib.c338 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 Dfastcgi.c425 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 Dphpdbg.c1015 static inline void phpdbg_sigint_handler(int signo) /* {{{ */ in phpdbg_sigint_handler() argument

Completed in 81 milliseconds