~ruther/guix-local

ref: ef8d2d1ea979da05f48cb7b23f22df1a84324469 guix-local/nix/libutil/affinity.hh -rw-r--r-- 111 bytes
ef8d2d1e — Christopher Baines gnu: guix-data-service: Update to 0.0.1-63.1da2a09. 1 year, 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#pragma once

namespace nix {

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

}