[Texas PLT logo]

COMP 402: Production Programming

  Homework 1  

Concurrency Homework

Update [6 Feb 2012] The original test file had a timing bug and failed to include critical tests on the handling of notification. Please use this file instead of the BoundedBufferTest.java embedded in bb.student.zip.

Implement a bounded buffer and a reader-writer lock. This year we will only be doing the bounded buffer, not the reader-writer lock.

For more information, refer to the concurrency constructs lecture.

Solutions

There are other ways to implement the homework, but here are our solutions:

(Solutions will be posted after the assignment has been turned in.)

  Homework 1  

URL: http://www.cs.rice.edu/~javaplt/402/12-spring/hw/2/index.shtml