mirror of
https://github.com/NixOS/nix
synced 2024-09-20 23:28:26 -04:00
10 lines
111 B
C++
10 lines
111 B
C++
|
#pragma once
|
||
|
|
||
|
namespace nix {
|
||
|
|
||
|
void setAffinityTo(int cpu);
|
||
|
int lockToCurrentCPU();
|
||
|
void restoreAffinity();
|
||
|
|
||
|
}
|