mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 21:28:30 +02:00
daemon-config: Add ioprio configuration option
Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
@@ -39,6 +39,12 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#define CONFIG_LIST_MAX 32
|
||||
#define CONFIG_VALUE_MAX 256
|
||||
|
||||
/*
|
||||
* Special ioprio values
|
||||
*/
|
||||
#define IOPRIO_RESET_DEFAULT -1
|
||||
#define IOPRIO_DONT_SET -2
|
||||
|
||||
/*
|
||||
* Opaque config context type
|
||||
*/
|
||||
@@ -113,3 +119,8 @@ void config_get_soft_realtime(GameModeConfig *self, char softrealtime[CONFIG_VAL
|
||||
* Get the renice value
|
||||
*/
|
||||
void config_get_renice_value(GameModeConfig *self, long *value);
|
||||
|
||||
/*
|
||||
* Get the ioprio value
|
||||
*/
|
||||
void config_get_ioprio_value(GameModeConfig *self, int *value);
|
||||
|
Reference in New Issue
Block a user