CMPU-377: Thu, Oct 2, 2008

  • Producer/Consumer v1 program due today:
    • 1 producer / 1 consumer
    • single buffer to transfer array contents
  • Producer/Consumer: next two versions assigned
    • Due: Thu, Oct 9
    • v2:
      • multiple producers and consumers
      • use semaphores instead of «await» conditions
      • implement P() and V() using in() and out()
      • use split binary semaphores empty and full
    • v3:
      • 1 producer / 1 consumer
      • shared buffer: array with capacity n
      • must maintain front and rear indices
      • use split counting semaphores empty and full
    • (v4: will assign next week)
courses/cs377-200803/oct2.txt · Last modified: 2008/10/02 10:28 by mlsmith
VCCS Top Events Extended Site Search Login Vassar Science Web Vassar Home Driven by DokuWiki Valid XHTML 1.0