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