Some cleanups

This commit is contained in:
louiz’
2016-10-31 14:03:37 +01:00
parent 8c26b4d19f
commit ae02e58b9d
4 changed files with 6 additions and 11 deletions
+2 -2
View File
@@ -14,9 +14,9 @@
#include <signal.h>
// A flag set by the SIGINT signal handler.
static volatile std::atomic<bool> stop(false);
static std::atomic<bool> stop(false);
// Flag set by the SIGUSR1/2 signal handler.
static volatile std::atomic<bool> reload(false);
static std::atomic<bool> reload(false);
// A flag indicating that we are wanting to exit the process. i.e: if this
// flag is set and all connections are closed, we can exit properly.
static bool exiting = false;