PPL Threads by JAVA

  • You have given a classical scenario (producer&consumer)(you can reach the sample codes by the lecture#5 link in the lab page)
  • add a third class called saler
  • be sure that all threads are running at the same time
  • synchronize them by using conditional variables
  • be sure that saler can only sell the produced cubbyholes and consumer can only consume the saled cubby holes
  • Put your all classes into same package
  • Send your homework by obeying the homework policies declared on homepage
    updated 02/05/2003 - 15:16 by Sadi Evren SEKER