Lines Matching refs:pcntl_setcpuaffinity
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
63 pcntl_setcpuaffinity(): Argument #2 ($cpu_ids) cpu id invalid value (def)
64 pcntl_setcpuaffinity(): Argument #2 ($cpu_ids) cpu id must be between 0 and %d (%d)
65 pcntl_setcpuaffinity(): Argument #2 ($cpu_ids) cpu id must be between 0 and %d (-1024)
69 pcntl_setcpuaffinity(): Argument #2 ($cpu_ids) cpu id invalid type (Array)