====== Week 6 ====== ~~NOTOC~~ ===== Lecture Notes ===== **Semaphores** * Ben-Ari Ch 6 * slides: {{slides.pdf|PDF}} * begin: Dining Philosophers * Code walk: Dining UPC Philosophers ** Class exercises ** * The Hungry Birds (handout) {{ the_hungry_birds.pdf |PDF}} * split binary semaphores * where for binary semaphores s1 and s2: 0 <= s1+s2 <= 1 * technique: pass the baton ===== Dining UPC Philosophers ===== * Assigned: Mon, Oct 3 * {{diningupcphils.pdf |PDF}} * Due: before October break * Fri, Oct 14, 5pm