Now used IThread to start threads, cpu-affinity broken, nonce allocation in double mode probably broken too.
This commit is contained in:
parent
6c970612bf
commit
72cd6d168e
8 changed files with 47 additions and 38 deletions
|
@ -36,7 +36,7 @@ class CpuThread : public IThread
|
|||
{
|
||||
public:
|
||||
enum Multiway {
|
||||
SingleWay,
|
||||
SingleWay = 1,
|
||||
DoubleWay,
|
||||
TripleWay,
|
||||
QuadWay,
|
||||
|
@ -55,7 +55,7 @@ public:
|
|||
inline int multiway() const override { return m_multiway; }
|
||||
inline int priority() const override { return m_priority; }
|
||||
inline int64_t affinity() const override { return m_affinity; }
|
||||
inline size_t index() const override { return m_affinity; }
|
||||
inline size_t index() const override { return m_index; }
|
||||
inline Type type() const override { return CPU; }
|
||||
|
||||
# ifndef XMRIG_NO_API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue