Added real graceful exit.

This commit is contained in:
XMRig
2019-03-16 00:44:15 +07:00
parent f143c3d645
commit 32cca57d55
41 changed files with 391 additions and 303 deletions

View File

@@ -27,11 +27,11 @@
#include "common/cpu/Cpu.h"
#include "common/Platform.h"
#include "workers/CpuThread.h"
#include "workers/Handle.h"
#include "workers/ThreadHandle.h"
#include "workers/Worker.h"
Worker::Worker(Handle *handle) :
Worker::Worker(ThreadHandle *handle) :
m_id(handle->threadId()),
m_totalWays(handle->totalWays()),
m_offset(handle->offset()),