...

/

The Caveats of Condition Variables

The Caveats of Condition Variables

In this lesson, we discuss the lost wakeup and spurious wakeup pitfall of condition variables with concurrency in C++

We'll cover the following...

Lost Wakeup

The phenomenon of the lost wakeup is that the sender sends its notification before the receiver gets to a wait state. The consequence is that the notification is lost. The C++ standard describes condition variables ...