Home
last modified time | relevance | path

Searched refs:pcntl_setcpuaffinity (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/pcntl/tests/
H A Dpcntl_cpuaffinity.phpt2 pcntl_getcpuaffinity() and pcntl_setcpuaffinity()
7 if (!function_exists("pcntl_setcpuaffinity")) die("skip pcntl_setcpuaffinity is not available");
12 var_dump(pcntl_setcpuaffinity(null, $mask));
17 var_dump(pcntl_setcpuaffinity(null, ["0", "1"]));
20 pcntl_setcpuaffinity(null, []);
26 pcntl_setcpuaffinity(null, ["abc" => "def", 0 => "cpuid"]);
32 pcntl_setcpuaffinity(null, [PHP_INT_MAX]);
38 pcntl_setcpuaffinity(null, [-1024, 64, -2]);
50 pcntl_setcpuaffinity(null, [1, array(1)]);
62 pcntl_setcpuaffinity(): Argument #2 ($cpu_ids) must not be empty
[all …]
H A Dpcntl_getcpu.phpt8 if (!function_exists("pcntl_setcpuaffinity")) die("skip pcntl_setcpuaffinity() is not available");
17 var_dump(pcntl_setcpuaffinity(null, [1]));
/php-src/ext/pcntl/
H A Dpcntl.stub.php1097 function pcntl_setcpuaffinity(?int $process_id = null, array $cpu_ids = []): bool {} function
H A Dpcntl_arginfo.h224 ZEND_FUNCTION(pcntl_setcpuaffinity);
286 ZEND_FE(pcntl_setcpuaffinity, arginfo_pcntl_setcpuaffinity)
H A Dpcntl.c1684 PHP_FUNCTION(pcntl_setcpuaffinity) in PHP_FUNCTION() argument

Completed in 19 milliseconds