forked from lix-project/lix
parent
a583a2bc59
commit
161a2ccf7a
|
@ -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