CPU_SET
#ifdef CPU_SET /* Current glibc expects cpu_set_t */
CPU_SET(0, &cpumask);
CPU_SET(cpu, &mask);
CPU_SET(i % ncpus, &mask);
CPU_SET(slot + i, &cpuset);
CPU_SET(slot + hcores + i, &cpuset);