id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11499,windows - exception lock_error while intensive locking/unlocking of shared_mutex on many threads,andrew maclean ,viboes," {{{ #include ""stdafx.h"" #include #include #include #include #include #include using MutexT = boost::shared_mutex; using ReaderLockT = std::lock_guard; using WriterLockT = std::shared_lock; MutexT gMutex; std::atomic running = true; long reads = 0; void read() { while (running) { ReaderLockT lock(gMutex); std::this_thread::yield(); ++reads; } } int main() { using namespace std; vector threads; for (int i = 0; i < 256; ++i) { threads.emplace_back(thread(read)); } string str; getline(std::cin, str); running = false; for (auto& thread : threads) { thread.join(); } return 0; } }}} ",Bugs,assigned,To Be Determined,thread,Boost 1.59.0,Problem,,,