~ruther/guix-local

ref: 21e583def33ecf9e9bae3a18df875cd3380e14ec guix-local/nix/libutil/affinity.hh -rw-r--r-- 111 bytes
21e583de — Ludovic Courtès gnu: gcc: Add a RUNPATH to libstdc++.so so that it finds libgcc_s.so. 11 years ago
                                                                                
1
2
3
4
5
6
7
8
9
#pragma once

namespace nix {

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

}