Searched refs:signal (Results 1 - 25 of 49) sorted by relevance

12

/PHP_5_5/TSRM/
H A DTSRM.h94 #include <signal.h>
/PHP_5_5/Zend/
H A Dzend_signal.c37 #include <signal.h>
80 if (SIGG(depth) == 0) { /* try to handle signal */
82 SIGG(blocked) = -1; /* signal is not blocked */
101 } else { /* delay signal handling */
102 SIGG(blocked) = 0; /* signal is blocked */
120 zend_output_debug_string(0, "zend_signal: not enough queue storage, lost signal (%d)", signo);
125 /* need to just run handler if we're inactive and getting a signal */
133 * Handle deferred signal from HANDLE_UNBLOCK_ALARMS */
155 * Call the previously registered handler for a signal
194 * Register a signal handle
[all...]
H A Dzend_signal.h27 #include <signal.h>
41 void* handler; /* signal handler or context */
59 int running; /* in signal handler execution */
60 int active; /* internal signal handling is enabled */
H A Dzend_execute_API.c23 #include <signal.h>
65 signal(SIGSEGV, original_sigsegv_handler);
67 signal(SIGSEGV, SIG_DFL);
142 original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv);
319 signal(SIGSEGV, original_sigsegv_handler);
1329 We got here because we got a timeout signal, so we are in a signal handler
1331 shutdown functions, so pretend we are not in a signal handler while we are
1499 signal(signo, zend_timeout);
/PHP_5_5/ext/pcntl/
H A Dtest-pcntl.php6 function alarm_handle($signal){
7 if ($signal==SIGALRM) print "Child: Caught SIGALRM!!!\n";
10 function usr1_handle($signal){
11 if ($signal==SIGUSR1) print "Child: Caught SIGUSR1!!!\n";
H A Dphp_signal.h21 #include <signal.h>
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_process_ctl.c8 #include <signal.h>
157 zlog(ZLOG_DEBUG, "[pool %s] sending signal %d %s to child %d",
207 if (fpm_state == new_state) { /* already in progress - just ignore duplicate signal */
H A Dfpm_signals.h8 #include <signal.h>
H A Dfpm_signals.c7 #include <signal.h>
170 /* prevent a signal race condition when child process
171 have not set up it's own signal handler yet */
/PHP_5_5/win32/
H A Dtime.c21 #include "signal.h"
130 int signal;
140 raise((int) msg->signal);
142 WM_NOTIFY, msg->signal, 0);
163 msg->signal = SIGALRM;
167 msg->signal = SIGVTALRM;
171 msg->signal = SIGPROF;
H A Dsignal.h2 ** Change here: if you plan to use your own version of <signal.h>
3 ** the original "#include <signal.h>" produces an infinite reinclusion
6 ** <signal.h> gets included throughout the PHP sources, and this should
13 #include <../include/signal.h>
/PHP_5_5/ext/opcache/
H A Dshared_alloc_shm.c33 #include <signal.h>
/PHP_5_5/ext/standard/
H A Dexec.c36 #include <signal.h>
73 sig_handler = signal (SIGCHLD, SIG_DFL);
158 signal(SIGCHLD, sig_handler);
H A Dphp_crypt_r.c48 # include <signal.h>
H A Dmail.c40 #include <signal.h>
318 /* Set signal handler of SIGCHLD to default to prevent other signal handlers
321 sig_handler = (void *)signal(SIGCHLD, SIG_DFL);
349 signal(SIGCHLD, sig_handler);
365 signal(SIGCHLD, sig_handler);
389 signal(SIGCHLD, sig_handler);
/PHP_5_5/ext/mysqli/
H A Dmysqli_driver.c23 #include <signal.h>
H A Dmysqli_embedded.c23 #include <signal.h>
H A Dmysqli_exception.c23 #include <signal.h>
H A Dmysqli_result_iterator.c27 #include <signal.h>
H A Dmysqli_warning.c23 #include <signal.h>
/PHP_5_5/sapi/apache_hooks/
H A Dsapi_apache.c70 signal(SIGCHLD, sigchld_handler);
/PHP_5_5/sapi/cli/
H A Dphp_cli.c40 #include "win32/signal.h"
50 #include <signal.h>
70 #include <signal.h>
1248 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so
/PHP_5_5/sapi/embed/
H A Dphp_embed.c164 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so
/PHP_5_5/sapi/litespeed/
H A Dlsapi_main.c63 #include <signal.h>
631 void litespeed_cleanup(int signal) argument
633 s_stop = signal;
705 signal(SIGPIPE, SIG_IGN);
H A Dlsapilib.c64 #include <signal.h>
582 signal(SIGXFSZ, SIG_IGN);
1646 static void lsapi_cleanup(int signal) argument
1648 s_stop = signal;
1666 static void lsapi_sigchild( int signal )
1806 perror( "Can't set signal handler for SIGCHILD" );

Completed in 49 milliseconds

12