Use std::atomic for fRequestShutdown and fReopenDebugLog
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user