guix/nix/libutil/affinity.hh
2014-12-17 22:57:04 +01:00

9 lines
111 B
C++

#pragma once
namespace nix {
void setAffinityTo(int cpu);
int lockToCurrentCPU();
void restoreAffinity();
}