Home
last modified time | relevance | path

Searched refs:SIGCHLD (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/pcntl/tests/
H A Dwaiting_on_sigchild_pcntl_wait.phpt2 Waiting on SIGCHLD with a pcntl_wait() loop
16 pcntl_signal(SIGCHLD, function($sig, $info) use (&$processes) {
18 echo "SIGCHLD\n";
39 SIGCHLD
40 SIGCHLD
41 SIGCHLD
42 SIGCHLD
43 SIGCHLD
44 SIGCHLD
H A D002.phpt24 pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,(string)SIGTERM));
27 var_dump(in_array(SIGCHLD, $oldset));
41 pcntl_signal(SIGCHLD, function($signo){});
43 $signo = pcntl_sigwaitinfo(array((string)SIGCHLD), $siginfo);
44 echo "signo == SIGCHLD\n";
45 var_dump($signo === SIGCHLD && $signo === $siginfo['signo']);
48 echo "signo === SIGCHLD\n";
49 var_dump($siginfo['signo'] === SIGCHLD);
69 signo == SIGCHLD
73 signo === SIGCHLD
H A D003.phpt16 SIGCHLD => "SIGCHLD",
26 pcntl_sigprocmask(SIG_BLOCK, [SIGCHLD, SIGTERM], $old);
49 string(7) "SIGCHLD"
57 string(7) "SIGCHLD"
63 string(7) "SIGCHLD"
H A Dbug73783.phpt8 pcntl_signal(SIGCHLD, SIG_IGN);
/php-src/sapi/fpm/fpm/
H A Dfpm_signals.c74 #ifdef SIGCHLD
75 [SIGCHLD] = "SIGCHLD",
164 [SIGCHLD] = 'C' in sig_handler()
212 0 > sigaction(SIGCHLD, &act, 0) || in fpm_signals_init_main()
245 0 > sigaction(SIGCHLD, &act_dfl, 0) || in fpm_signals_init_child()
270 static const int init_signal_array[] = { SIGUSR1, SIGUSR2, SIGCHLD }; in fpm_signals_init_mask()
/php-src/ext/standard/
H A Dmail.c545 sig_handler = (void *)signal(SIGCHLD, SIG_DFL); in php_mail()
573 signal(SIGCHLD, sig_handler); in php_mail()
589 signal(SIGCHLD, sig_handler); in php_mail()
613 signal(SIGCHLD, sig_handler); in php_mail()
H A Dexec.c121 void (*sig_handler)() = signal(SIGCHLD, SIG_DFL); in php_exec()
186 signal(SIGCHLD, sig_handler); in php_exec()
/php-src/ext/sysvsem/tests/
H A Dnowait.phpt13 pcntl_signal(SIGCHLD, SIG_IGN);
/php-src/ext/pcntl/
H A Dpcntl.stub.php226 const SIGCHLD = UNKNOWN; define
H A Dpcntl_arginfo.h369 #if defined(SIGCHLD) in register_pcntl_symbols()
370 REGISTER_LONG_CONSTANT("SIGCHLD", LONG_CONST(SIGCHLD), CONST_PERSISTENT); in register_pcntl_symbols()
H A Dpcntl.c428 pcntl_siginfo_to_zval(SIGCHLD, &siginfo, user_siginfo); in PHP_FUNCTION()
1084 #ifdef SIGCHLD in pcntl_siginfo_to_zval()
1085 case SIGCHLD: in pcntl_siginfo_to_zval()
/php-src/sapi/litespeed/
H A Dlsapilib.c3165 if( sigaction( SIGCHLD, &act, &old_child ) ) in lsapi_prefork_server_accept()
3267 sigaddset( &mask, SIGCHLD ); in lsapi_prefork_server_accept()
3307 sigaction( SIGCHLD, &old_child, 0 ); in lsapi_prefork_server_accept()
3436 if (sigaction(SIGCHLD, &act, &old_child)) in LSAPI_Accept_Before_Fork()
3552 sigaction(SIGCHLD, &old_child, 0); in LSAPI_Accept_Before_Fork()
/php-src/
H A Dconfigure.ac903 [whether to enable PHP's own SIGCHLD handler],
905 [Enable PHP's own SIGCHLD handler])],
910 [Define to 1 if PHP uses its own SIGCHLD handler, and to 0 if not.])
/php-src/main/
H A Dmain.c1795 signal(SIGCHLD, sigchld_handler); in sigchld_handler()
1821 signal(SIGCHLD, sigchld_handler); in php_request_startup()

Completed in 38 milliseconds