aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-05-26 20:06:07 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-05-26 19:56:43 -0400
commit5555d978b056ab0e0e59faaf2d2067ec43fffaef (patch)
tree984dfbd2b27de2ce1778861b606d43da2897829b /src/wallet/db.cpp
parentdcacea096e029a02a937bf96d002ca7e94c48c15 (diff)
wallet: Make PeriodicFlush uninterruptible
Diffstat (limited to 'src/wallet/db.cpp')
-rw-r--r--src/wallet/db.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp
index 1b2bd83a4c..95a5b91cec 100644
--- a/src/wallet/db.cpp
+++ b/src/wallet/db.cpp
@@ -14,8 +14,6 @@
#include <sys/stat.h>
#endif
-#include <boost/thread.hpp>
-
namespace {
//! Make sure database has a unique fileid within the environment. If it
@@ -824,7 +822,6 @@ bool BerkeleyBatch::PeriodicFlush(BerkeleyDatabase& database)
if (nRefCount == 0)
{
- boost::this_thread::interruption_point();
std::map<std::string, int>::iterator mi = env->mapFileUseCount.find(strFile);
if (mi != env->mapFileUseCount.end())
{