File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ int64_t nTimeBestReceived = 0; // Used only to inform the wallet of when we last
68
68
CWaitableCriticalSection csBestBlock;
69
69
CConditionVariable cvBlockChange;
70
70
int nScriptCheckThreads = 0 ;
71
- bool fImporting = false ;
71
+ std::atomic_bool fImporting ( false ) ;
72
72
bool fReindex = false ;
73
73
bool fTxIndex = false ;
74
74
bool fHavePruned = false ;
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ extern uint64_t nLastBlockWeight;
165
165
extern const std::string strMessageMagic;
166
166
extern CWaitableCriticalSection csBestBlock;
167
167
extern CConditionVariable cvBlockChange;
168
- extern bool fImporting ;
168
+ extern std::atomic_bool fImporting ;
169
169
extern bool fReindex ;
170
170
extern int nScriptCheckThreads;
171
171
extern bool fTxIndex ;
You can’t perform that action at this time.
0 commit comments