Home
last modified time | relevance | path

Searched refs:pcntl_setpriority (Results 1 – 7 of 7) sorted by relevance

/PHP-8.2/ext/pcntl/tests/
H A Dpcntl_setpriority_error_darwin.phpt2 pcntl_setpriority() - Check for errors
11 if (!function_exists('pcntl_setpriority')) {
12 die('skip pcntl_setpriority doesn\'t exist');
24 pcntl_setpriority(0, null, (PRIO_PGRP + PRIO_USER + PRIO_PROCESS + 10));
30 pcntl_setpriority(0, -1, PRIO_DARWIN_THREAD);
36 pcntl_setpriority(0, -123);
41 pcntl_setpriority(-1000, 1);
45 pcntl_setpriority(): Argument #3 ($mode) must be one of PRIO_PGRP, PRIO_USER, PRIO_PROCESS or PRIO_…
46 pcntl_setpriority(): Argument #2 ($process_id) must be 0 (zero) if PRIO_DARWIN_THREAD is provided a…
47 pcntl_setpriority(): Argument #2 ($process_id) is not a valid process, process group, or user ID
[all …]
H A Dpcntl_setpriority_error.phpt2 pcntl_setpriority() - Check for errors
11 if (!function_exists('pcntl_setpriority')) {
12 die('skip pcntl_setpriority doesn\'t exist');
24 $result = pcntl_setpriority(0, null, (PRIO_PGRP + PRIO_USER + PRIO_PROCESS + 10));
29 pcntl_setpriority(0, -123);
33 pcntl_setpriority(): Argument #3 ($mode) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS
35 Warning: pcntl_setpriority(): Error 3: No process was located using the given parameters in %s
H A Dpcntl_setpriority_error_linux.phpt2 pcntl_setpriority() - Check for errors
11 if (!function_exists('pcntl_setpriority')) {
12 die('skip pcntl_setpriority doesn\'t exist');
23 pcntl_setpriority(-1000, 1);
24 pcntl_setpriority(-1000, 0);
28 Warning: pcntl_setpriority(): Error 1: A process was located, but neither its effective nor real us…
30 Warning: pcntl_setpriority(): Error 13: Only a super user may attempt to increase the process prior…
H A Dpcntl_setpriority_basic.phpt2 pcntl_setpriority() - Basic behaviour
11 if (!function_exists('pcntl_setpriority')) {
12 die('skip pcntl_setpriority doesn\'t exist');
14 if (@pcntl_setpriority(-5) === false && pcntl_get_last_error() == PCNTL_EACCES) {
20 var_dump(pcntl_setpriority(-5));
/PHP-8.2/ext/pcntl/
H A Dpcntl.stub.php968 function pcntl_setpriority(int $priority, ?int $process_id = null, int $mode = PRIO_PROCESS): bool{} function
H A Dpcntl_arginfo.h167 ZEND_FUNCTION(pcntl_setpriority);
215 ZEND_FE(pcntl_setpriority, arginfo_pcntl_setpriority)
H A Dpcntl.c963 PHP_FUNCTION(pcntl_setpriority) in PHP_FUNCTION() argument

Completed in 30 milliseconds