diff options
| author | Matt Corallo <[email protected]> | 2016-11-25 21:52:44 -0800 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-11-26 15:42:48 -0800 |
| commit | 047ea1052d4f20c762b1b75099c8421932021b8a (patch) | |
| tree | e1630aa6a723ffc27408f2612704c875743f715d /src/main.h | |
| parent | Make fDisconnect an std::atomic (diff) | |
| download | discoin-047ea1052d4f20c762b1b75099c8421932021b8a.tar.xz discoin-047ea1052d4f20c762b1b75099c8421932021b8a.zip | |
Make fImporting an std::atomic
Diffstat (limited to 'src/main.h')
| -rw-r--r-- | src/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index 43c62f6de..c98ed0572 100644 --- a/src/main.h +++ b/src/main.h @@ -165,7 +165,7 @@ extern uint64_t nLastBlockWeight; extern const std::string strMessageMagic; extern CWaitableCriticalSection csBestBlock; extern CConditionVariable cvBlockChange; -extern bool fImporting; +extern std::atomic_bool fImporting; extern bool fReindex; extern int nScriptCheckThreads; extern bool fTxIndex; |