aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-18 17:21:44 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-18 17:37:47 +0200
commit8a274eab3feab820f38503f98a3caecb5dded4a5 (patch)
tree21e66eb3ea88957d0998f1adf0d4932ec1af5625 /src/wallet/api/wallet.h
parentMerge pull request #1095 (diff)
downloadmonero-8a274eab3feab820f38503f98a3caecb5dded4a5.tar.xz
switch wallet API from std thread/mutex to boost
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h14
1 files changed, 7 insertions, 7 deletions
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 <string>
-#include <thread>
-#include <mutex>
-#include <condition_variable>
+#include <boost/thread/mutex.hpp>
+#include <boost/thread/thread.hpp>
+#include <boost/thread/condition_variable.hpp>
namespace Bitmonero {
@@ -113,12 +113,12 @@ private:
std::atomic<bool> m_refreshThreadDone;
std::atomic<int> 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;
};