mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
Set up for resetting niceness value
Add tests to check this feature Apply config validation in config for simplicity Note: if anything messes with the niceness (ie. it starts non-zero, or it's not the expected value during setup, we'll bail out)
This commit is contained in:
@ -135,7 +135,8 @@ int game_mode_close_proc(const procfd_t procfd);
|
||||
* Provides internal API functions specific to adjusting process
|
||||
* scheduling.
|
||||
*/
|
||||
void game_mode_apply_renice(const GameModeContext *self, const pid_t client);
|
||||
int game_mode_get_renice(const pid_t client);
|
||||
void game_mode_apply_renice(const GameModeContext *self, const pid_t client, int expected);
|
||||
void game_mode_apply_scheduling(const GameModeContext *self, const pid_t client);
|
||||
|
||||
/** gamemode-wine.c
|
||||
|
Reference in New Issue
Block a user