![c++ - what does unique_lock mean when a single thread acquire 2 unique_lock of the same mutex? - Stack Overflow c++ - what does unique_lock mean when a single thread acquire 2 unique_lock of the same mutex? - Stack Overflow](https://i.stack.imgur.com/js62k.png)
c++ - what does unique_lock mean when a single thread acquire 2 unique_lock of the same mutex? - Stack Overflow
use std::lock_guard instead of std::unique_lock by mjopenglsdl · Pull Request #24 · mtrebi/thread-pool · GitHub
TSAN False Positive With std::unique_lock::try_lock_for and std::unique_lock::try_lock_until · Issue #1620 · google/sanitizers · GitHub
![Chapter 4. Synchronizing concurrent operations - C++ Concurrency in Action: Practical Multithreading Chapter 4. Synchronizing concurrent operations - C++ Concurrency in Action: Practical Multithreading](https://drek4537l1klr.cloudfront.net/williams/Figures/069fig01.jpg)