====== Week 7 ====== ~~NOTOC~~ ===== From Semaphores to Monitors ===== **Monitors** * Marc's Lecture Notes: {{ cs377-monitors.pdf |PDF}} * Ben-Ari Ch 7 * begin slide 146 * Dr. Seuss on Deadlock: * [[zax|The Zax]] * Class participation with monitors: * The One-Lane Bridge problem: Cars coming from the north and south arrive at a one-lane bridge. Cars heading in the same direction can cross the bridge at the same time, but cars heading in opposite directions cannot. * can we find a way to be safe, fair, and efficient? * {{onelanebridgemonitor2022.pdf|PDF}} (with thanks to Charlie Hughes!) ===== Dining UPC Philosophers ===== * {{diningupcphils.pdf |PDF}} * Due: before October break * Fri, Oct 14, 5pm * Questions?