Commit 9992b235 by Georgios Bitzes Committed by Elvin Sindrilaru

COMMON: Fix one more data race in RWMutex

parent 6588e1a7
......@@ -481,7 +481,7 @@ private:
std::string mDebugName;
int mCounter;
int mSamplingModulo;
bool mEnableTiming, mEnableSampling;
std::atomic<bool> mEnableTiming, mEnableSampling;
//! Specific type of counters
size_t mRdCumulatedWait, mWrCumulatedWait;
size_t mRdMaxWait, mWrMaxWait, mRdMinWait, mWrMinWait;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment