diff options
author | louiz’ <louiz@louiz.org> | 2016-10-31 13:54:25 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-10-31 14:03:37 +0100 |
commit | ae02e58b9dc276b247be84e1d708ca50a1f5bbd0 (patch) | |
tree | ef20d9624c010829a3187db179409662c1be72a0 /src/main.cpp | |
parent | 8c26b4d19f6d3464050a34c782694059b2a7b013 (diff) | |
download | biboumi-ae02e58b9dc276b247be84e1d708ca50a1f5bbd0.tar.gz biboumi-ae02e58b9dc276b247be84e1d708ca50a1f5bbd0.tar.bz2 biboumi-ae02e58b9dc276b247be84e1d708ca50a1f5bbd0.tar.xz biboumi-ae02e58b9dc276b247be84e1d708ca50a1f5bbd0.zip |
Some cleanups
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 53f3193..5585672 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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; |