~ruther/guix-local

ref: 725a138db8d75ab39ff72f3cbb89d5656be23816 guix-local/nix/libutil/affinity.hh -rw-r--r-- 111 bytes
725a138d — Maxim Cournoyer git: Guard against git submodules lacking a path. 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#pragma once

namespace nix {

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

}