Fixed dataset initialization speed on Linux if thread affinity was used.

This commit is contained in:
XMRig 2019-07-25 19:11:07 +07:00
parent ccd5fae5e1
commit d4772cbd5d
9 changed files with 95 additions and 51 deletions

View file

@ -50,6 +50,7 @@ public:
protected:
void storeStats();
const int64_t m_affinity;
const size_t m_id;
std::atomic<uint64_t> m_hashCount;
std::atomic<uint64_t> m_timestamp;