Searched refs:signo (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_process_ctl.c146 void fpm_pctl_kill_all(int signo) /* {{{ */ argument
155 int res = kill(child->pid, signo);
158 child->wp->config->name, signo,
159 fpm_signal_names[signo] ? fpm_signal_names[signo] : "", (int) child->pid);
H A Dfpm_process_ctl.h23 void fpm_pctl_kill_all(int signo);
H A Dfpm_signals.c142 static void sig_soft_quit(int signo) /* {{{ */ argument
156 static void sig_handler(int signo) /* {{{ */ argument
176 s = sig_chars[signo];
H A Dfastcgi.c163 static void fcgi_signal_handler(int signo) argument
165 if (signo == SIGUSR1 || signo == SIGTERM) {
/PHP_TRUNK/ext/pcntl/
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 zend_long signo; member in struct:php_pcntl_pending_signal
H A Dpcntl.c68 ZEND_ARG_INFO(0, signo)
834 /* {{{ proto bool pcntl_signal(int signo, callback handle [, bool restart_syscalls])
840 zend_long signo; local
843 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lz|b", &signo, &handle, &restart_syscalls) == FAILURE) {
847 if (signo < 1 || signo > 32) {
871 if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) {
876 zend_hash_index_del(&PCNTL_G(php_signal_table), signo); local
889 if (zend_hash_index_update(&PCNTL_G(php_signal_table), signo, handle)) {
893 if (php_signal4(signo, pcntl_signal_handle
916 zend_long how, signo; local
975 int signo; local
1192 pcntl_signal_handler(int signo) argument
[all...]
H A Dphp_signal.c28 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) argument
40 if (signo == SIGALRM || (! restart)) {
50 if (zend_sigaction(signo, &act, &oact) < 0)
52 if (sigaction(signo, &act, &oact) < 0)
61 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) argument
63 return php_signal4(signo, func, restart, 0);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c200 static void lsapi_signal(int signo, sighandler_t handler) argument
204 sigaction(signo, NULL, &sa);
211 sigaction(signo, &sa, NULL);
/PHP_TRUNK/Zend/
H A Dzend_execute_API.c1207 int signo;
1216 signo = SIGALRM;
1220 signo = SIGPROF;
1225 zend_signal(signo, zend_timeout);
1229 signal(signo, zend_timeout);
1231 sigaddset(&sigset, signo);
H A Dzend_signal.c54 static void zend_signal_handler(int signo, siginfo_t *siginfo, void *context);
55 static int zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*));
73 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context) argument
85 zend_signal_handler(signo, siginfo, context);
91 zend_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.context);
94 queue->zend_signal.signo = 0;
105 queue->zend_signal.signo = signo;
119 zend_output_debug_string(0, "zend_signal: not enough queue storage, lost signal (%d)", signo);
125 zend_signal_handler(signo, siginf
156 zend_signal_handler(int signo, siginfo_t *siginfo, void *context) argument
194 zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact) argument
232 zend_signal(int signo, void (*handler)(int)) argument
248 zend_signal_register(int signo, void (*handler)(int, siginfo_t*, void*)) argument
346 int signo; local
[all...]
H A Dzend_signal.h45 int signo; member in struct:_zend_signal_t
85 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context);
91 ZEND_API int zend_signal(int signo, void (*handler)(int));
92 ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigaction *oldact);
95 #define zend_sigprocmask(signo, set, oldset) tsrm_sigmask((signo), (set), (oldset))
97 #define zend_sigprocmask(signo, set, oldset) sigprocmask((signo), (set), (oldset))
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c373 static void fcgi_signal_handler(int signo) argument
375 if (signo == SIGUSR1 || signo == SIGTERM) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c809 static inline void phpdbg_sigint_handler(int signo) /* {{{ */ argument

Completed in 21 milliseconds