mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 21:35:24 +00:00
0040da3497
std::shared_mutex in combination with std::condition_variable_any may lead to a situation when notify_all does not wake up all waiting threads on Windows. Use separate std::mutex and std::condition_variable to notify about new job. Encapsulate all workers synchronization logic into a separate type.