- Exercises
In this exercise, you will use locks instead of mutexes.
We'll cover the following...
We'll cover the following...
Task 1
- Adjust the program below by using a suitable lock:
std::unique_lockorstd::lock_guard.
You should not explicitly use a mutex.
Task 2
Implement a count-down counter from 10 – 0. It should count down in seconds steps.
...