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

@ -49,6 +49,8 @@ protected:
std::atomic<uint32_t> m_index = {};
uint64_t m_hashCount[2] = {};
uint64_t m_timestamp[2] = {};
uint64_t m_count = 0;
};