Home
last modified time | relevance | path

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

/php-src/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-src/ext/pcntl/
H A Dpcntl.stub.php368 const PRIO_PROCESS = UNKNOWN; define
1068 function pcntl_getpriority(?int $process_id = null, int $mode = PRIO_PROCESS): int|false {}
1072 …function pcntl_setpriority(int $priority, ?int $process_id = null, int $mode = PRIO_PROCESS): bool…
H A Dpcntl.c1146 zend_long who = PRIO_PROCESS; in PHP_FUNCTION()
1171 if (who != PRIO_PGRP && who != PRIO_USER && who != PRIO_PROCESS && who != PRIO_DARWIN_THREAD) { in PHP_FUNCTION()
1202 zend_long who = PRIO_PROCESS; in PHP_FUNCTION()
1224 if (who != PRIO_PGRP && who != PRIO_USER && who != PRIO_PROCESS && who != PRIO_DARWIN_THREAD) { in PHP_FUNCTION()
H A Dpcntl_arginfo.h420 REGISTER_LONG_CONSTANT("PRIO_PROCESS", PRIO_PROCESS, CONST_PERSISTENT); in register_pcntl_symbols()
/php-src/sapi/fpm/fpm/
H A Dfpm_unix.c471 if (setpriority(PRIO_PROCESS, 0, wp->config->process_priority) < 0) { in fpm_unix_init_child()
686 if (setpriority(PRIO_PROCESS, 0, fpm_global_config.process_priority) < 0) { in fpm_unix_init_main()

Completed in 19 milliseconds