summaryrefslogtreecommitdiffstats
path: root/executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor.h')
-rw-r--r--executor.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/executor.h b/executor.h
index 968db06..57e435f 100644
--- a/executor.h
+++ b/executor.h
@@ -5,10 +5,20 @@
#include <array>
#include <list>
#include <future>
+#include "telemetry.h"
+#include "backend/IBackend.hpp"
class jpsock;
+
+
+namespace xmrstak
+{
+namespace cpu
+{
class minethd;
-class telemetry;
+
+} // namespace cpu
+} // namepsace xmrstak
class executor
{
@@ -50,8 +60,8 @@ private:
std::mutex timed_event_mutex;
thdq<ex_event> oEventQ;
- telemetry* telem;
- std::vector<minethd*>* pvThreads;
+ xmrstak::telemetry* telem;
+ std::vector<xmrstak::IBackend*>* pvThreads;
size_t current_pool_id;
OpenPOWER on IntegriCloud