guix-devel/nix/libutil/affinity.hh

10 lines
111 B
C++

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