1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 07:55:04 -05:00

Quick fix, temporary use old style affinity.

This commit is contained in:
XMRig
2018-04-03 17:06:03 +07:00
parent dd6bc339bf
commit d4123b8fa6
4 changed files with 9 additions and 6 deletions

View File

@@ -130,7 +130,7 @@ void Workers::start(xmrig::Controller *controller)
uv_timer_start(&m_timer, Workers::onTick, 500, 500);
for (xmrig::IThread *thread : threads) {
Handle *handle = new Handle(thread, threads.size(), totalWays);
Handle *handle = new Handle(thread, threads.size(), totalWays, controller->config()->affinity());
m_workers.push_back(handle);
handle->start(Workers::onReady);
}