Index
1. Week 6 Semaphores
- 1. Copy the code from Slide 33 and
check you understand it.
- 2. Download consumer_Race and
producer_race from blackboard. Compile these and runthem. Do
you understand where the race is occurring? Can you see the
evidnce?
- 3. Modify the consumer producer to use
Semaphores and confirm that the data race is fixed.
- 4.
Implement the Reader-Writers problem using Semaphores.
Index
1. Week 6 Semaphores
Index
This document was produced using
groff-1.22.