Searched refs:signal (Results 1 - 25 of 45) 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/ext/opcache/
H A Dshared_alloc_shm.c33 #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 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);
H A Dmail.c40 #include <signal.h>
362 /* Set signal handler of SIGCHLD to default to prevent other signal handlers
365 sig_handler = (void *)signal(SIGCHLD, SIG_DFL);
393 signal(SIGCHLD, sig_handler);
409 signal(SIGCHLD, sig_handler);
433 signal(SIGCHLD, sig_handler);
/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.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_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_noreturn(E_ERROR, "Error installing signal handle
[all...]
H A Dzend_execute_API.c23 #include <signal.h>
62 signal(SIGSEGV, original_sigsegv_handler);
64 signal(SIGSEGV, SIG_DFL);
138 original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv);
385 signal(SIGSEGV, original_sigsegv_handler);
1192 We got here because we got a timeout signal, so we are in a signal handler
1194 shutdown functions, so pretend we are not in a signal handler while we are
1284 signal(signo, zend_timeout);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigio_win32.c20 #include <signal.h>
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcompress.c50 #include <signal.h>
123 osigpipe = signal(SIGPIPE, SIG_IGN);
152 (void)signal(SIGPIPE, osigpipe);
/PHP_TRUNK/win32/
H A Dsignal.h4 #include <signal.h>
/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/main/
H A Dmain.c33 #include "win32/signal.h"
50 #include <signal.h>
1511 signal(SIGCHLD, sigchld_handler);
1564 signal(SIGCHLD, sigchld_handler);
1633 signal(SIGCHLD, sigchld_handler);
1665 signal(SIGCHLD, sigchld_handler);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c40 #include "win32/signal.h"
50 #include <signal.h>
70 #include <signal.h>
1207 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so

Completed in 57 milliseconds

12