Oreilly - Effective Modern C++ live! by | Released March 2015 | ISBN: 9781491934562 https://www.oreilly.com/library/view/effective-modern-c/9781491934562/
What's the best way for one thread to notify another that an event has taken place? The traditional approach is to use a condition variable, but that requires a mutex, and for simple event communication, that seems like overkill: no data requires synchronized access. An alternative is to use a...