mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 00:15:04 -05:00
Start mining threads only after RandomX dataset initialization.
This commit is contained in:
@@ -37,19 +37,20 @@ namespace xmrig
|
||||
|
||||
|
||||
class Algorithm;
|
||||
class RxDataset;
|
||||
class IRxListener;
|
||||
class Job;
|
||||
class RxDataset;
|
||||
|
||||
|
||||
class Rx
|
||||
{
|
||||
public:
|
||||
static bool init(const Job &job, int initThreads, bool hugePages, bool numa, IRxListener *listener);
|
||||
static bool isReady(const Job &job);
|
||||
static RxDataset *dataset(const Job &job, uint32_t nodeId);
|
||||
static std::pair<unsigned, unsigned> hugePages();
|
||||
static void destroy();
|
||||
static void init();
|
||||
static void init(const Job &job, int initThreads, bool hugePages, bool numa);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user