affinity.hh 111 B

12345678910
  1. #pragma once
  2. namespace nix {
  3. void setAffinityTo(int cpu);
  4. int lockToCurrentCPU();
  5. void restoreAffinity();
  6. }