guix-play/nix/libutil/affinity.hh

10 lines
111 B
C++
Raw Normal View History

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