From 8a274eab3feab820f38503f98a3caecb5dded4a5 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Sun, 18 Sep 2016 17:21:44 +0200 Subject: switch wallet API from std thread/mutex to boost --- src/wallet/api/wallet.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/wallet/api/wallet.h') diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 9a290e0bc..658296c30 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -35,9 +35,9 @@ #include "wallet/wallet2.h" #include -#include -#include -#include +#include +#include +#include namespace Bitmonero { @@ -113,12 +113,12 @@ private: std::atomic m_refreshThreadDone; std::atomic m_refreshIntervalSeconds; // synchronizing refresh loop; - std::mutex m_refreshMutex; + boost::mutex m_refreshMutex; // synchronizing sync and async refresh - std::mutex m_refreshMutex2; - std::condition_variable m_refreshCV; - std::thread m_refreshThread; + boost::mutex m_refreshMutex2; + boost::condition_variable m_refreshCV; + boost::thread m_refreshThread; }; -- cgit v1.2.3