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

12

/PHP_5_3/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_3/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_3/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"
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;
/PHP_5_3/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_prop.c25 #include <signal.h>
H A Dmysqli_warning.c23 #include <signal.h>
/PHP_5_3/ext/standard/
H A Dexec.c37 #include <signal.h>
104 sig_handler = signal (SIGCHLD, SIG_DFL);
196 signal(SIGCHLD, sig_handler);
H A Dmail.c38 #include <signal.h>
281 /* Set signal handler of SIGCHLD to default to prevent other signal handlers
284 sig_handler = (void *)signal(SIGCHLD, SIG_DFL);
312 signal(SIGCHLD, sig_handler);
328 signal(SIGCHLD, sig_handler);
352 signal(SIGCHLD, sig_handler);
H A Dphp_crypt_r.c48 # include <signal.h>
/PHP_5_3/sapi/apache/
H A Dmod_php5.c141 handler = signal(SIGPIPE, SIG_IGN);
151 signal(SIGPIPE, handler);
/PHP_5_3/sapi/apache_hooks/
H A Dsapi_apache.c70 signal(SIGCHLD, sigchld_handler);
/PHP_5_3/sapi/embed/
H A Dphp_embed.c164 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so
/PHP_5_3/sapi/litespeed/
H A Dlsapilib.c64 #include <signal.h>
588 signal(SIGXFSZ, SIG_IGN);
1660 static void lsapi_cleanup(int signal) argument
1662 s_stop = signal;
1680 static void lsapi_sigchild( int signal )
1820 perror( "Can't set signal handler for SIGCHILD" );
H A Dlsapi_main.c63 #include <signal.h>
803 void litespeed_cleanup(int signal) argument
805 s_stop = signal;
881 signal(SIGPIPE, SIG_IGN);
/PHP_5_3/main/
H A Dmain.c33 #include "win32/signal.h"
50 #include <signal.h>
1381 signal(SIGCHLD, sigchld_handler);
1428 signal(SIGCHLD, sigchld_handler);
1493 signal(SIGCHLD, sigchld_handler);
1526 signal(SIGCHLD, sigchld_handler);
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c50 # define signal(a, b) NULL macro
53 # define signal(a, b) NULL macro
56 # include <signal.h>
455 handler = signal(SIGPIPE, SIG_IGN);
457 signal(SIGPIPE, handler);
470 handler = signal(SIGPIPE, SIG_IGN);
472 signal(SIGPIPE, handler);
/PHP_5_3/Zend/
H A Dzend_execute_API.c23 #include <signal.h>
64 signal(SIGSEGV, original_sigsegv_handler);
66 signal(SIGSEGV, SIG_DFL);
142 original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv);
326 signal(SIGSEGV, original_sigsegv_handler);
1483 signal(SIGALRM, zend_timeout);
1491 signal(SIGPROF, zend_timeout);
/PHP_5_3/sapi/cli/
H A Dphp_cli.c40 #include "win32/signal.h"
50 #include <signal.h>
69 #include <signal.h>
688 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so
/PHP_5_3/sapi/milter/
H A Dphp_milter.c43 #include <signal.h>
1007 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so

Completed in 103 milliseconds

12