
Hacker News: Front Page
shared a link post in group #Stream of Goodies

zeux.io
Condvars and atomics do not mix
When using std::condition_variable, there’s an easy to remember rule: all variables accessed in wait predicate must be changed under a mutex. However, this is easy to accidentally violate by throwing