Home
last modified time | relevance | path

Searched refs:pcntl_sigprocmask (Results 1 – 8 of 8) sorted by relevance

/php-src/ext/pcntl/tests/
H A Dpcntl_sigprocmask_errors.phpt2 pcntl_sigprocmask() errors
6 <?php if (!function_exists("pcntl_sigprocmask")) die("skip pcntl_sigprocmask() not available"); ?>
15 $signal_no = pcntl_sigprocmask(-1, $signals);
23 $signal_no = pcntl_sigprocmask(SIG_BLOCK, $signals);
31 $signal_no = pcntl_sigprocmask(SIG_BLOCK, $signals);
38 $signal_no = pcntl_sigprocmask(SIG_BLOCK, $signals);
46 $signal_no = pcntl_sigprocmask(SIG_BLOCK, $signals);
55 $signal_no = pcntl_sigprocmask(SIG_BLOCK, $signals);
63 ValueError: pcntl_sigprocmask(): Argument #2 ($signals) must not be empty
64 ValueError: pcntl_sigprocmask(): Argument #2 ($signals) signals must be between 1 and %d
[all …]
H A D003.phpt8 if (!function_exists("pcntl_sigprocmask")) die("skip pcntl_sigprocmask() not available");
24 pcntl_sigprocmask(SIG_SETMASK, [], $prev);
26 pcntl_sigprocmask(SIG_BLOCK, [SIGCHLD, SIGTERM], $old);
28 pcntl_sigprocmask(SIG_BLOCK, [SIGINT], $old);
30 pcntl_sigprocmask(SIG_UNBLOCK, [SIGINT], $old);
32 pcntl_sigprocmask(SIG_SETMASK, [SIGINT], $old);
34 pcntl_sigprocmask(SIG_SETMASK, [], $old);
38 pcntl_sigprocmask(SIG_SETMASK, $prev, $old);
H A D002.phpt2 pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait()
9 !function_exists('pcntl_sigprocmask')
24 pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD,(string)SIGTERM));
26 pcntl_sigprocmask(SIG_UNBLOCK, array(SIGINT), $oldset);
/php-src/sapi/fpm/tests/
H A Dreload-uses-sigkill-as-last-measure.phpt8 if (!function_exists('pcntl_sigprocmask')) die('skip Requires pcntl_sigprocmask()');
34 pcntl_sigprocmask(SIG_BLOCK, [SIGQUIT, SIGTERM]);
H A Dbug77023-pm-dynamic-blocking-sigquit.phpt8 if (!function_exists('pcntl_sigprocmask')) die('skip Requires pcntl_sigprocmask()');
33 pcntl_sigprocmask(SIG_BLOCK, [SIGQUIT, SIGTERM]);
/php-src/ext/pcntl/
H A Dpcntl.stub.php1029 function pcntl_sigprocmask(int $mode, array $signals, &$old_signals = null): bool {} function
H A Dpcntl_arginfo.h184 ZEND_FUNCTION(pcntl_sigprocmask);
245 ZEND_FE(pcntl_sigprocmask, arginfo_pcntl_sigprocmask)
H A Dpcntl.c904 PHP_FUNCTION(pcntl_sigprocmask) in PHP_FUNCTION() argument

Completed in 16 milliseconds