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

@ -30,6 +30,7 @@
xmrig::Worker::Worker(size_t id, int64_t affinity, int priority) :
m_affinity(affinity),
m_id(id),
m_hashCount(0),
m_timestamp(0),