about summary refs log blame commit diff
path: root/src/libutil/affinity.hh
blob: c1bd28e1367ac9cb6faa4a11777c32d08379fa99 (plain) (tree)
1
2
3
4
5
6
7
8
9








                            
#pragma once

namespace nix {

void setAffinityTo(int cpu);
int lockToCurrentCPU();
void restoreAffinity();

}