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

@ -48,9 +48,11 @@ public:
static void *calloc(size_t num, size_t size);
static void release();
static inline bool isDoubleHash() { return m_doubleHash; }
static inline bool isHugepagesAvailable() { return m_flags & HugepagesAvailable; }
static inline bool isHugepagesEnabled() { return m_flags & HugepagesEnabled; }
static inline int flags() { return m_flags; }
static inline int threads() { return m_threads; }
private:
static bool m_doubleHash;