diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,8 +125,8 @@ out: pthread_mutex_unlock(&entry->mutex); } -static bool signals_terminate = false; -static bool signals_reload = false; +static volatile sig_atomic_t signals_terminate = false; +static volatile sig_atomic_t signals_reload = false; // NOTE: The code assumes that signal_handler will only be called in the main // thread, which (as far as I know) is always the case on Linux. |