guix-kreyren/nix/libutil/affinity.hh

10 lines
111 B
C++
Raw Normal View History

2014-12-17 23:00:42 +01:00
#pragma once
namespace nix {
void setAffinityTo(int cpu);
int lockToCurrentCPU();
void restoreAffinity();
}