Home
last modified time | relevance | path

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

12

/PHP-8.2/Zend/
H A Dzend_signal.c59 # 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 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.c1525 int signo; in zend_timeout_handler()
1541 signo = SIGALRM; in zend_timeout_handler()
1545 signo = SIGPROF; in zend_timeout_handler()
1550 zend_signal(signo, zend_timeout_handler); in zend_timeout_handler()
1559 sigaction(signo, &act, NULL); in zend_timeout_handler()
1561 signal(signo, zend_timeout_handler); in zend_timeout_handler()
1564 sigaddset(&sigset, signo); in zend_timeout_handler()
/PHP-8.2/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_001.phpt8 pcntl_signal(1000000, function($signo){
H A Dpcntl_signal_dispatch.phpt9 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 Dsignal_closure_handler.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.2/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.c145 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 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.2/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.2/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.2/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()

Completed in 52 milliseconds

12