guix/nix/libutil/affinity.hh
2014-12-19 22:47:37 +01:00

10 lines
111 B
C++

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