Integrated thread based double hash mode
This commit is contained in:
parent
db91ccb1f4
commit
0712d269ef
17 changed files with 161 additions and 134 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
static void setJob(const Job &job);
|
||||
static void start(int64_t affinity, int priority);
|
||||
static void stop();
|
||||
static void submit(const JobResult &result);
|
||||
static void submit(const JobResult &result, int threadId);
|
||||
|
||||
static inline bool isEnabled() { return m_enabled; }
|
||||
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