1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-11 09:22:48 -05:00

m_count possible race fix

This commit is contained in:
eaxeax
2021-09-23 12:19:36 +03:00
committed by eaxeax
parent 12690c66d6
commit 26ced53e4d
4 changed files with 8 additions and 5 deletions

View File

@@ -39,8 +39,6 @@ protected:
inline size_t id() const override { return m_id; }
inline uint32_t node() const { return m_node; }
std::atomic<uint64_t> m_count = {0};
private:
const int64_t m_affinity;
const size_t m_id;