diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-01 20:23:11 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-01 20:38:41 +0200 |
commit | 2e0a99037dcc35bc63ba0d54371bc678af737c8e (patch) | |
tree | 4cb42cd44838ac03072053f4ce8197f9d85431ef /src/init.cpp | |
parent | 7fa8d758598407f3bf0beb0118dc122ea5340736 (diff) | |
parent | a886dbf8e7b6b007153a53e8d8d1fd63b7fc9ee2 (diff) | |
download | bitcoin-2e0a99037dcc35bc63ba0d54371bc678af737c8e.tar.xz |
Merge #8123: Use std::atomic for fRequestShutdown and fReopenDebugLog
a886dbf Use std::atomic for fRequestShutdown and fReopenDebugLog (Pieter Wuille)
16cf85f Revert "Include signal.h for sig_atomic_t in WIN32" (Pieter Wuille)
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 98c0894122..9a22501859 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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() { |