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

12

/PHP_TRUNK/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_TRUNK/sapi/fpm/fpm/
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 */
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 */
/PHP_TRUNK/win32/
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>
H A Dtime.c21 #include "signal.h"
129 int signal;
139 raise((int) msg->signal);
141 WM_NOTIFY, msg->signal, 0);
162 msg->signal = SIGALRM;
166 msg->signal = SIGVTALRM;
170 msg->signal = SIGPROF;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigio_win32.c20 #include <signal.h>
/PHP_TRUNK/ext/opcache/
H A Dshared_alloc_shm.c33 #include <signal.h>
H A Dzend_shared_alloc.c32 # include <signal.h>
/PHP_TRUNK/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_TRUNK/ext/standard/
H A Dmail.c40 #include <signal.h>
319 /* Set signal handler of SIGCHLD to default to prevent other signal handlers
322 sig_handler = (void *)signal(SIGCHLD, SIG_DFL);
350 signal(SIGCHLD, sig_handler);
366 signal(SIGCHLD, sig_handler);
390 signal(SIGCHLD, sig_handler);
H A Dphp_crypt_r.c48 # include <signal.h>
H A Dexec.c36 #include <signal.h>
74 sig_handler = signal (SIGCHLD, SIG_DFL);
159 signal(SIGCHLD, sig_handler);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c61 #include <signal.h>
905 void litespeed_cleanup(int signal) argument
907 s_stop = signal;
1000 signal(SIGPIPE, SIG_IGN);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c40 #include "win32/signal.h"
50 #include <signal.h>
70 #include <signal.h>
1224 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c165 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so
/PHP_TRUNK/TSRM/
H A DTSRM.h91 #include <signal.h>
/PHP_TRUNK/Zend/
H A Dzend_signal.c37 #include <signal.h>
79 if (UNEXPECTED(SIGG(depth) == 0)) { /* try to handle signal */
100 } else { /* delay signal handling */
101 SIGG(blocked) = 1; /* signal is blocked */
119 zend_output_debug_string(0, "zend_signal: not enough queue storage, lost signal (%d)", signo);
124 /* need to just run handler if we're inactive and getting a signal */
132 * Handle deferred signal from HANDLE_UNBLOCK_ALARMS */
154 * Call the previously registered handler for a signal
193 * Register a signal handler that will be deferred in critical sections */
217 zend_error(E_ERROR, "Error installing 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>
62 signal(SIGSEGV, original_sigsegv_handler);
64 signal(SIGSEGV, SIG_DFL);
139 original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv);
362 signal(SIGSEGV, original_sigsegv_handler);
1163 We got here because we got a timeout signal, so we are in a signal handler
1165 shutdown functions, so pretend we are not in a signal handler while we are
1255 signal(signo, zend_timeout);

Completed in 93 milliseconds

12