Start mining threads only after RandomX dataset initialization.
This commit is contained in:
parent
4a5e185973
commit
2a5110aa04
6 changed files with 165 additions and 74 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue