Rewrite memory allocation.

This commit is contained in:
XMRig
2018-04-15 11:08:47 +07:00
parent 50e9045825
commit 31c786b5c3
19 changed files with 212 additions and 224 deletions

View File

@@ -26,7 +26,6 @@
#include "common/Platform.h"
#include "Cpu.h"
#include "Mem.h"
#include "workers/CpuThread.h"
#include "workers/Handle.h"
#include "workers/Worker.h"
@@ -47,12 +46,6 @@ Worker::Worker(Handle *handle) :
}
Platform::setThreadPriority(m_thread->priority());
m_ctxLegacy = Mem::create(m_id);
}
Worker::~Worker()
{
}