aboutsummaryrefslogtreecommitdiff
path: root/nix/libutil/affinity.hh
blob: c1bd28e1367ac9cb6faa4a11777c32d08379fa99 (about) (plain)
1
2
3
4
5
6
7
8
9
#pragma once

namespace nix {

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

}
td>Marius Bakke 2020-10-16.guix-authorizations: Add m1gu3l....Ludovic Courtès 2020-09-04.guix-authorizations: Add planglois to the committers....Ludovic Courtès 2020-07-18.guix-authorizations: Add brettgilio (back) to the committers....Tobias Geerinckx-Rice 2020-07-01.guix-authorizations: Remove keys of two former contributors....Ludovic Courtès 2020-07-01.guix-authorizations: Remove former keys that are no longer used....Ludovic Courtès 2020-07-01.guix-authorizations: Remove brettgilio's old key....Ludovic Courtès 2020-05-04.guix-authorizations: Add bricewge to the committers....Ludovic Courtès 2020-05-04.guix-authorizations: Augment....Ludovic Courtès 2020-05-04Add '.guix-authorizations'....Ludovic Courtès