Threading and multiprocessing Part 3: Locking Exercise¶
See `lock_exercise.zip`
in your repositry.
In: lock/stdout_writer.py
Multiple threads in the script write to stdout, and their output gets jumbled
Add a locking mechanism to give each thread exclusive access to stdout.
Try adding a Semaphore to allow 2 threads access at once.