Exercise
Enhance your understanding by getting hands-on practice with this exercise on condition variables.
We'll cover the following
This exercise lets you explore some real code that uses locks and condition variables to implement various forms of the producer/consumer queue discussed in the chapter. You’ll look at the real code, run it in various configurations, and use it to learn about what works and what doesn’t, as well as other intricacies. See the previous lesson for details on the given code.
As always you’re highly encouraged to discuss your answers on the Discuss thread for this exercise.
Get hands-on with 1400+ tech skills courses.