Added class MultiWorker and remove classes SingleWorker and DoubleWorker.

This commit is contained in:
XMRig 2018-04-14 22:14:57 +07:00
parent c81401ab2d
commit 4b71b7aa29
13 changed files with 173 additions and 345 deletions

View file

@ -25,10 +25,10 @@
#include "workers/Handle.h"
Handle::Handle(xmrig::IThread *config, size_t totalThreads, size_t totalWays) :
Handle::Handle(xmrig::IThread *config, uint32_t offset, size_t totalWays) :
m_worker(nullptr),
m_totalThreads(totalThreads),
m_totalWays(totalWays),
m_offset(offset),
m_config(config)
{
}