- Exercises

In this exercise, you will spot a data race and synchronize the code.

We'll cover the following...

Task 1

In the code below, vary the sleep time of Sleeper to prevent undefined behavior.

Variation in the runtime with no ...