internal static unsafe void CPU_SET(int cpu, cpu_set_t* set)
 {
     set->bits[CPUELT(cpu)] |= CPUMASK(cpu);
 }
 internal static unsafe bool CPU_ISSET(int cpu, cpu_set_t* set)
 {
     return (set->bits[CPUELT(cpu)] & CPUMASK(cpu)) != 0;
 }
 internal static extern unsafe int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t* mask);