Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 25 of 35) sorted by relevance

12

/PHP-5.5/ext/pcntl/
H A Dtest-pcntl.php6 function alarm_handle($signal){ argument
7 if ($signal==SIGALRM) print "Child: Caught SIGALRM!!!\n";
10 function usr1_handle($signal){ argument
11 if ($signal==SIGUSR1) print "Child: Caught SIGUSR1!!!\n";
H A DREADME4 control (fork(), waitpid(), signal(), WIF's, etc). This is extremly experimental,
/PHP-5.5/ext/pcntl/tests/
H A Dpcntl_signal.phpt9 echo "signal dispatched\n";
26 signal dispatched
32 Warning: pcntl_signal(): Invalid signal %s
35 Warning: pcntl_signal(): Invalid signal %s
H A D001.phpt39 print "\nProcess was terminated by signal : ". $signal_print;
61 print "\nProcess was stoped by signal : ". $signal_print;
79 Process was terminated by signal : SIGTERM
82 Process was stoped by signal : SIGSTOP
H A Dsignal_closure_handler.phpt2 Closures as a signal handler
/PHP-5.5/win32/
H A Dtime.c130 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.5/ext/posix/tests/
H A Dposix_kill_error.phpt10 * Description: Send a signal to a process (POSIX.1, 3.3.2)
29 echo "\n-- Testing posix_kill() function with invalid signal --\n";
54 -- Testing posix_kill() function with invalid signal --
H A Dposix_kill_variation1.phpt10 * Description: Send a signal to a process (POSIX.1, 3.3.2)
H A Dposix_kill_variation2.phpt10 * Description: Send a signal to a process (POSIX.1, 3.3.2)
/PHP-5.5/ext/standard/
H A Dmail.c364 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail()
392 signal(SIGCHLD, sig_handler); in php_mail()
408 signal(SIGCHLD, sig_handler); in php_mail()
432 signal(SIGCHLD, sig_handler); in php_mail()
H A Dexec.c116 sig_handler = signal (SIGCHLD, SIG_DFL); in php_exec()
201 signal(SIGCHLD, sig_handler); in php_exec()
/PHP-5.5/ext/standard/tests/misc/
H A Dtime_nanosleep_basic.phpt20 echo "Interrupted by a signal.\n";
/PHP-5.5/ext/standard/tests/general_functions/
H A Dproc_open02.phpt18 usleep(20000); // let the OS run the sleep process before sending the signal
/PHP-5.5/sapi/apache_hooks/
H A Dsapi_apache.c70 signal(SIGCHLD, sigchld_handler); in apache_php_module_hook()
H A Dmod_php5.c286 handler = signal(SIGPIPE, SIG_IGN); in sapi_apache_read_post()
296 signal(SIGPIPE, handler); in sapi_apache_read_post()
/PHP-5.5/Zend/
H A DZend.m460 signal.h \
397 [ --enable-zend-signals Use zend signal handling],[
409 AC_DEFINE(ZEND_SIGNALS, 1, [Use zend signal handling])
413 AC_MSG_CHECKING(whether to enable zend signal handling)
H A Dzend_execute_API.c62 signal(SIGSEGV, original_sigsegv_handler);
64 signal(SIGSEGV, SIG_DFL);
139 original_sigsegv_handler = signal(SIGSEGV, zend_handle_sigsegv); in init_executor()
316 signal(SIGSEGV, original_sigsegv_handler); in shutdown_executor()
1417 signal(signo, zend_timeout); in zend_set_timeout()
/PHP-5.5/sapi/embed/
H A Dphp_embed.c164 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in php_embed_init()
/PHP-5.5/ext/pdo_mysql/
H A Dmysql_driver.c497 handler = signal(SIGPIPE, SIG_IGN);
502 signal(SIGPIPE, handler);
507 signal(SIGPIPE, handler);
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c938 void litespeed_cleanup(int signal) in litespeed_cleanup() argument
940 s_stop = signal; in litespeed_cleanup()
1033 signal(SIGPIPE, SIG_IGN); in main()
H A Dlsapilib.c1199 signal(SIGXFSZ, SIG_IGN); in LSAPI_Init()
2513 static void lsapi_cleanup(int signal) in lsapi_cleanup() argument
2515 s_stop = signal; in lsapi_cleanup()
2537 static void lsapi_sigchild( int signal ) in lsapi_sigchild() argument
/PHP-5.5/ext/mysql/
H A Dphp_mysql.c50 # define signal(a, b) NULL macro
53 # define signal(a, b) NULL macro
455 handler = signal(SIGPIPE, SIG_IGN); in _close_mysql_link()
457 signal(SIGPIPE, handler); in _close_mysql_link()
470 handler = signal(SIGPIPE, SIG_IGN); in _close_mysql_plink()
472 signal(SIGPIPE, handler); in _close_mysql_plink()
/PHP-5.5/sapi/apache/
H A Dmod_php5.c141 handler = signal(SIGPIPE, SIG_IGN); in sapi_apache_read_post()
151 signal(SIGPIPE, handler); in sapi_apache_read_post()
/PHP-5.5/main/
H A Dmain.c1493 signal(SIGCHLD, sigchld_handler); in sigchld_handler()
1546 signal(SIGCHLD, sigchld_handler); in php_request_startup()
1616 signal(SIGCHLD, sigchld_handler); in php_request_startup()
1648 signal(SIGCHLD, sigchld_handler); in php_request_startup_for_hook()
/PHP-5.5/sapi/milter/
H A Dphp_milter.c1011 signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE in standalone mode so in main()

Completed in 60 milliseconds

12