Week 6

Semaphores

  • Ben-Ari Ch 6
    • slides: PDF
      • begin: Dining Philosophers
  • Code walk: Dining UPC Philosophers

Class exercises

  • The Hungry Birds (handout) PDF
    • split binary semaphores
      • where for binary semaphores s1 and s2:
          0 <= s1+s2 <= 1 
    • technique: pass the baton
  • Assigned: Mon, Oct 3
  • Due: before October break
    • Fri, Oct 14, 5pm