Searched refs:target_cpu_set (Results 1 – 1 of 1) sorted by relevance
536 cpu_set_t target_cpu_set; in SetCpuAffinity() local537 CPU_ZERO(&target_cpu_set); in SetCpuAffinity()541 CPU_SET(cpu, &target_cpu_set); in SetCpuAffinity()549 if (sched_setaffinity(getpid(), sizeof(target_cpu_set), &target_cpu_set) == -1) { in SetCpuAffinity()