#1386 Added priority for RandomX dataset initialization threads.

This commit is contained in:
XMRig 2019-12-06 22:17:04 +07:00
parent 529f394c02
commit 3a75f39935
No known key found for this signature in database
GPG key ID: 446A53638BE94409
12 changed files with 45 additions and 26 deletions

View file

@ -46,7 +46,7 @@ class RxDataset;
class Rx
{
public:
static bool init(const Job &job, const RxConfig &config, bool hugePages, bool oneGbPages);
static bool init(const Job &job, const RxConfig &config, bool hugePages, bool oneGbPages, int priority);
static bool isReady(const Job &job);
static RxDataset *dataset(const Job &job, uint32_t nodeId);
static std::pair<uint32_t, uint32_t> hugePages();