#1385 "max-threads-hint" option now also limit RandomX dataset initialization threads.

This commit is contained in:
XMRig 2019-12-07 22:18:06 +07:00
parent 3a75f39935
commit e9e747f0d1
No known key found for this signature in database
GPG key ID: 446A53638BE94409
8 changed files with 21 additions and 14 deletions

View file

@ -61,6 +61,7 @@ public:
inline const String &argon2Impl() const { return m_argon2Impl; }
inline const Threads<CpuThreads> &threads() const { return m_threads; }
inline int priority() const { return m_priority; }
inline uint32_t limit() const { return m_limit; }
private:
void generate();