mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
parent
a583a2bc59
commit
161a2ccf7a
1 changed files with 2 additions and 0 deletions
|
@ -9,8 +9,10 @@
|
||||||
namespace nix {
|
namespace nix {
|
||||||
|
|
||||||
|
|
||||||
|
#if HAVE_SCHED_SETAFFINITY
|
||||||
static bool didSaveAffinity = false;
|
static bool didSaveAffinity = false;
|
||||||
static cpu_set_t savedAffinity;
|
static cpu_set_t savedAffinity;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void setAffinityTo(int cpu)
|
void setAffinityTo(int cpu)
|
||||||
|
|
Loading…
Reference in a new issue