Week 11

  • Lecture Notes: PDF (updated and cont'd from slide 8)
  • Demo of Ruby/Rinda program
    • from Wikipedia example:
      http://en.wikipedia.org/wiki/Rinda_(Ruby_programming_language)
      • link no longer live :-(
      • I couldn't even find it on the wayback machine! (or lost patience looking)
    • sample code: copy from my directory
      $ cp -r /home/mlsmith/cs377-examples/rinda/ ~/cs377/
    • code walk of Producer Consumer v1
      • from slide 9 of notes
      • found in Marc's rinda/prodcons1 subdirectory
      • pay attention to:
        • readme.txt instructions for running
        • initialization of TS
        • shared data reside as tuples in TS
        • no semaphores; busy waiting possible :-(
  • Assignment 6
    • Due Thu, April 23
    • Versions 2 and 3 from slides 11, 12 of PDF
      • (version 1 included in sample code)
      • versions from slides 11 and 12 are the versions to implement