Searched refs:PRIO_PROCESS (Results 1 – 8 of 8) sorted by relevance
/PHP-8.2/ext/pcntl/tests/ |
H A D | pcntl_getpriority_error.phpt | 24 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 D | pcntl_getpriority_error_darwin.phpt | 24 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 D | pcntl_setpriority_error.phpt | 24 $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 D | pcntl_setpriority_error_darwin.phpt | 24 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 D | pcntl.stub.php | 269 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 D | pcntl.c | 909 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 D | pcntl_arginfo.h | 311 REGISTER_LONG_CONSTANT("PRIO_PROCESS", PRIO_PROCESS, CONST_PERSISTENT); in register_pcntl_symbols()
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 442 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 14 milliseconds