Closed swebb2066 closed 7 months ago
This PR applies the guidelines in this highly rated answer on StackOverflow.
Also, the call site of std::condition_variable::notify_all does not need to hold the lock on the same mutex as the one held by the waiting thread(s)
This PR applies the guidelines in this highly rated answer on StackOverflow.
Also, the call site of std::condition_variable::notify_all does not need to hold the lock on the same mutex as the one held by the waiting thread(s)