Searched refs:target_cpu_set (Results 1 – 1 of 1) sorted by relevance
533 cpu_set_t target_cpu_set; in SetCpuAffinity() local534 CPU_ZERO(&target_cpu_set); in SetCpuAffinity()538 CPU_SET(cpu, &target_cpu_set); in SetCpuAffinity()546 if (sched_setaffinity(getpid(), sizeof(target_cpu_set), &target_cpu_set) == -1) { in SetCpuAffinity()