1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-20 14:02:46 -04:00

#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
12 changed files with 45 additions and 26 deletions

View File

@@ -53,7 +53,7 @@ public:
protected:
RxDataset *dataset(const Job &job, uint32_t nodeId) const override;
std::pair<uint32_t, uint32_t> hugePages() const override;
void init(const RxSeed &seed, uint32_t threads, bool hugePages, bool oneGbPages, RxConfig::Mode mode) override;
void init(const RxSeed &seed, uint32_t threads, bool hugePages, bool oneGbPages, RxConfig::Mode mode, int priority) override;
private:
RxNUMAStoragePrivate *d_ptr;