Failure to acquire mutex lock
Voltra opened this issue · comments
Line 212 in 3358f25
Line 406 in 3358f25
Line 560 in 3358f25
The lines of code above actually default initialize a local std::unique_lock<std::mutex>
named job_mutex
instead of creating a lock on the job_mutex
member.
You should look for occurences of std::unique_lock<std::mutex>(
in the codebase for similar bugs.
See this CppCon 2017 talk for reference: https://youtu.be/lkgszkPnV8g?si=NSm2AemA2FiRso8k&t=1946