mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-25 08:53:06 +02:00
use defines instead of value
use defines instead of values for the park_or_pin variable
This commit is contained in:
parent
173a8594b4
commit
740a82a761
@ -31,10 +31,13 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define IS_CPU_PARK 0
|
||||||
|
#define IS_CPU_PIN 1
|
||||||
|
|
||||||
/* Storage for CPU info*/
|
/* Storage for CPU info*/
|
||||||
struct GameModeCPUInfo {
|
struct GameModeCPUInfo {
|
||||||
size_t num_cpu;
|
size_t num_cpu;
|
||||||
int park_or_pin; /* 0 to park 1 to pin */
|
int park_or_pin;
|
||||||
cpu_set_t *online;
|
cpu_set_t *online;
|
||||||
cpu_set_t *to_keep;
|
cpu_set_t *to_keep;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user