Use std::atomic for fRequestShutdown and fReopenDebugLog
This commit is contained in:
@@ -123,7 +123,7 @@ static const char* FEE_ESTIMATES_FILENAME="fee_estimates.dat";
|
||||
// shutdown thing.
|
||||
//
|
||||
|
||||
volatile sig_atomic_t fRequestShutdown = false;
|
||||
std::atomic<bool> fRequestShutdown(false);
|
||||
|
||||
void StartShutdown()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user