Searched refs:pcntl_setcpuaffinity (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/pcntl/tests/ |
H A D | pcntl_cpuaffinity.phpt | 2 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 D | pcntl_getcpu.phpt | 8 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 D | pcntl.stub.php | 1097 function pcntl_setcpuaffinity(?int $process_id = null, array $cpu_ids = []): bool {} function
|
H A D | pcntl_arginfo.h | 224 ZEND_FUNCTION(pcntl_setcpuaffinity); 286 ZEND_FE(pcntl_setcpuaffinity, arginfo_pcntl_setcpuaffinity)
|
H A D | pcntl.c | 1684 PHP_FUNCTION(pcntl_setcpuaffinity) in PHP_FUNCTION() argument
|
Completed in 12 milliseconds