mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Use std::atomic for fRequestShutdown and fReopenDebugLog
This commit is contained in:
parent
16cf85fa2c
commit
a886dbf8e7
3 changed files with 4 additions and 7 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue