Use std::atomic for fRequestShutdown and fReopenDebugLog

This commit is contained in:
Pieter Wuille
2016-05-30 15:39:37 +02:00
committed by lateminer
parent e9ac273479
commit fad48f416c
3 changed files with 4 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ string strMiscWarning;
bool fLogTimestamps = DEFAULT_LOGTIMESTAMPS;
bool fLogTimeMicros = DEFAULT_LOGTIMEMICROS;
bool fLogIPs = DEFAULT_LOGIPS;
volatile bool fReopenDebugLog = false;
std::atomic<bool> fReopenDebugLog(false);
CTranslationInterface translationInterface;
/** Init OpenSSL library multithreading support */