Add DoubleWorker class.
This commit is contained in:
parent
8c2951db2d
commit
981e043ada
13 changed files with 195 additions and 17 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue