Home
last modified time | relevance | path

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

/PHP-5.4/Zend/
H A Dzend_signal.c95 queue->zend_signal.signo = 0; in zend_signal_handler_defer()
106 queue->zend_signal.signo = signo; in zend_signal_handler_defer()
145 queue->zend_signal.signo = 0; in zend_signal_handler_unblock()
170 sigaddset(&sigset, signo); in zend_signal_handler()
175 raise(signo); in zend_signal_handler()
181 SIGG(handlers)[signo-1].flags = 0; in zend_signal_handler()
217 if (sigaction(signo, &sa, NULL) < 0) { in zend_sigaction()
223 sigaddset(&sigset, signo); in zend_sigaction()
332 queue->zend_signal.signo = 0; in zend_signal_globals_ctor()
347 int signo; in zend_signal_startup() local
[all …]
H A Dzend_signal.h45 int signo; member
85 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context);
91 ZEND_API int zend_signal(int signo, void (*handler)(int) TSRMLS_DC);
92 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact TSRMLS…
95 #define zend_sigprocmask(signo, set, oldset) tsrm_sigmask((signo), (set), (oldset)) argument
97 #define zend_sigprocmask(signo, set, oldset) sigprocmask((signo), (set), (oldset)) argument
H A Dzend_execute_API.c1495 int signo; in zend_set_timeout() local
1504 signo = SIGALRM; in zend_set_timeout()
1508 signo = SIGPROF; in zend_set_timeout()
1513 zend_signal(signo, zend_timeout TSRMLS_CC); in zend_set_timeout()
1517 signal(signo, zend_timeout); in zend_set_timeout()
1519 sigaddset(&sigset, signo); in zend_set_timeout()
/PHP-5.4/ext/pcntl/tests/
H A D002.phpt25 echo "signo == SIGTERM\n";
26 var_dump($signo === SIGTERM && $signo === $siginfo['signo']);
37 echo "signo == SIGCHLD\n";
38 var_dump($signo === SIGCHLD && $signo === $siginfo['signo']);
43 echo "signo === uid\n";
45 echo "signo === pid\n";
79 signo == SIGTERM
83 signo == SIGCHLD
87 signo === SIGCHLD
89 signo === uid
[all …]
H A Dsignal_closure_handler.phpt14 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
H A Dpcntl_signal_dispatch.phpt14 pcntl_signal(SIGTERM, function ($signo) { echo "Signal handler called!\n"; });
H A Dpcntl_signal.phpt8 pcntl_signal(SIGTERM, function($signo){
/PHP-5.4/ext/pcntl/
H A Dphp_signal.c28 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) in php_signal4() argument
42 if (signo == SIGALRM || (! restart)) { in php_signal4()
52 if (zend_sigaction(signo, &act, &oact TSRMLS_CC) < 0) in php_signal4()
54 if (sigaction(signo, &act, &oact) < 0) in php_signal4()
63 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) in php_signal() argument
65 return php_signal4(signo, func, restart, 0); in php_signal()
H A Dpcntl.c68 ZEND_ARG_INFO(0, signo)
845 long signo; in PHP_FUNCTION() local
852 if (signo < 1 || signo > 32) { in PHP_FUNCTION()
919 long how, signo; in PHP_FUNCTION() local
941 signo = Z_LVAL_PP(user_signo); in PHP_FUNCTION()
963 for (signo = 1; signo < MAX(NSIG-1, SIGRTMAX); ++signo) { in PHP_FUNCTION()
983 int signo; in pcntl_sigwaitinfo() local
1036 signo = siginfo.si_signo; in pcntl_sigwaitinfo()
1049 switch(signo) { in pcntl_sigwaitinfo()
1081 RETURN_LONG(signo); in pcntl_sigwaitinfo()
[all …]
H A Dphp_signal.h33 Sigfunc *php_signal(int signo, Sigfunc *func, int restart);
34 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);
H A Dphp_pcntl.h64 long signo; member
/PHP-5.4/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
176 s = sig_chars[signo]; in sig_handler()
H A Dfpm_process_ctl.c146 void fpm_pctl_kill_all(int signo) /* {{{ */ in fpm_pctl_kill_all() argument
155 int res = kill(child->pid, signo); in fpm_pctl_kill_all()
158 child->wp->config->name, signo, in fpm_pctl_kill_all()
159 fpm_signal_names[signo] ? fpm_signal_names[signo] : "", (int) child->pid); in fpm_pctl_kill_all()
H A Dfpm_process_ctl.h23 void fpm_pctl_kill_all(int signo);
H A Dfastcgi.c162 static void fcgi_signal_handler(int signo) in fcgi_signal_handler() argument
164 if (signo == SIGUSR1 || signo == SIGTERM) { in fcgi_signal_handler()
/PHP-5.4/sapi/cgi/
H A Dfastcgi.c378 static void fcgi_signal_handler(int signo) in fcgi_signal_handler() argument
380 if (signo == SIGUSR1 || signo == SIGTERM) { in fcgi_signal_handler()
/PHP-5.4/sapi/litespeed/
H A Dlsapilib.c200 static void lsapi_signal(int signo, sighandler_t handler) in lsapi_signal() argument
204 sigaction(signo, NULL, &sa); in lsapi_signal()
211 sigaction(signo, &sa, NULL); in lsapi_signal()

Completed in 80 milliseconds