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

@ -40,8 +40,6 @@ Worker::Worker(Handle *handle) :
m_count(0),
m_sequence(0)
{
handle->setWorker(this);
if (Cpu::threads() > 1 && handle->affinity() != -1L) {
Cpu::setAffinity(m_id, handle->affinity());
}