Task 6 - Operating Systems - Politechnika Bialistok
Analyze the code from the Condition Variables Example. Take a close look at the void *watcher() function -- is it really just an account "watcher"? Fix the code so that thewatcher function prints the status after the account has changed at most once, butwithout modifying the account value.