1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

Add DoubleWorker class.

This commit is contained in:
XMRig
2017-06-13 19:58:31 +03:00
parent 8c2951db2d
commit 981e043ada
13 changed files with 195 additions and 17 deletions

View File

@@ -44,7 +44,7 @@ class Workers
public:
static Job job();
static void setJob(const Job &job);
static void start(int threads, int64_t affinity, bool nicehash);
static void start(int64_t affinity, bool nicehash);
static void submit(const JobResult &result);
static inline bool isOutdated(uint64_t sequence) { return m_sequence.load(std::memory_order_relaxed) != sequence; }