Implement inotify check on the reaper thread for config changes

This commit is contained in:
Marc Di Luzio
2019-05-15 18:00:43 +01:00
parent ceb1808c95
commit ec55bda3b2
5 changed files with 169 additions and 39 deletions

View File

@ -112,9 +112,9 @@ int game_mode_context_query_status(GameModeContext *self, pid_t pid, pid_t reque
GameModeConfig *game_mode_config_from_context(const GameModeContext *context);
/*
* Refresh the current configuration
* Reload the current configuration
*/
int game_mode_refresh_config(GameModeContext *context);
int game_mode_reload_config(GameModeContext *context);
/** gamemode-env.c
* Provides internal API functions specific to working environment