Home
last modified time | relevance | path

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

/PHP-8.2/ext/pcntl/tests/
H A Dpcntl_getpriority_error.phpt24 pcntl_getpriority(null, PRIO_PGRP + PRIO_USER + PRIO_PROCESS + 10);
30 pcntl_getpriority(-1, PRIO_PROCESS);
34 pcntl_getpriority(): Argument #2 ($mode) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS
H A Dpcntl_getpriority_error_darwin.phpt24 pcntl_getpriority(null, (PRIO_PGRP + PRIO_USER + PRIO_PROCESS + 10));
37 pcntl_getpriority(-1, PRIO_PROCESS);
44 pcntl_getpriority(): Argument #2 ($mode) must be one of PRIO_PGRP, PRIO_USER, PRIO_PROCESS or PRIO_…
H A Dpcntl_setpriority_error.phpt24 $result = pcntl_setpriority(0, null, (PRIO_PGRP + PRIO_USER + PRIO_PROCESS + 10));
33 pcntl_setpriority(): Argument #3 ($mode) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS
H A Dpcntl_setpriority_error_darwin.phpt24 pcntl_setpriority(0, null, (PRIO_PGRP + PRIO_USER + PRIO_PROCESS + 10));
45 pcntl_setpriority(): Argument #3 ($mode) must be one of PRIO_PGRP, PRIO_USER, PRIO_PROCESS or PRIO_…
/PHP-8.2/ext/pcntl/
H A Dpcntl.stub.php269 const PRIO_PROCESS = UNKNOWN; define
964 function pcntl_getpriority(?int $process_id = null, int $mode = PRIO_PROCESS): int|false {}
968 function pcntl_setpriority(int $priority, ?int $process_id = null, int $mode = PRIO_PROCESS): bool{}
H A Dpcntl.c909 zend_long who = PRIO_PROCESS; in PHP_FUNCTION()
934 if (who != PRIO_PGRP && who != PRIO_USER && who != PRIO_PROCESS && who != PRIO_DARWIN_THREAD) { in PHP_FUNCTION()
965 zend_long who = PRIO_PROCESS; in PHP_FUNCTION()
987 if (who != PRIO_PGRP && who != PRIO_USER && who != PRIO_PROCESS && who != PRIO_DARWIN_THREAD) { in PHP_FUNCTION()
H A Dpcntl_arginfo.h311 REGISTER_LONG_CONSTANT("PRIO_PROCESS", PRIO_PROCESS, CONST_PERSISTENT); in register_pcntl_symbols()
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_unix.c442 if (setpriority(PRIO_PROCESS, 0, wp->config->process_priority) < 0) { in fpm_unix_init_child()
656 if (setpriority(PRIO_PROCESS, 0, fpm_global_config.process_priority) < 0) { in fpm_unix_init_main()

Completed in 18 milliseconds