Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: MersenneTwisterGlobals replace std::recursive_mutex w/ std::mutex
Replaced `std::recursive_mutex` with the more lightweight `std::mutex` as type of `MersenneTwisterGlobals::m_StaticInstanceLock`. This mutex is only used `MersenneTwisterRandomVariateGenerator::GetInstance()`. This member function does not call itself, so the mutex does not need to be "recursive".
- Loading branch information