Use std::atomic for fRequestShutdown and fReopenDebugLog

This commit is contained in:
Pieter Wuille
2016-10-24 21:55:52 -07:00
committed by Simon
parent 3f97a535ee
commit bf673640e3
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ string strMiscWarning;
bool fLogTimestamps = DEFAULT_LOGTIMESTAMPS;
bool fLogTimeMicros = DEFAULT_LOGTIMEMICROS;
bool fLogIPs = DEFAULT_LOGIPS;
volatile sig_atomic_t fReopenDebugLog = false;
std::atomic<bool> fReopenDebugLog(false);
CTranslationInterface translationInterface;
/** Init OpenSSL library multithreading support */