Lab #5/Prog #3 CIS343 Ð Synchronization for the Bounded Buffer

Getting Started

The bounded-buffer problem is a well-known problem in the study of sychronization of concurrent processes acessing shared resources. The solution to the bounded-buffer problem is applicable to other shared resource problems that occur when concurrency exist.

 

1. Read pages 326-334 prior to the first lab session (see Lab Sessions section for dates)

 

2. Review chapter 8 and your notes on chapter 8 prior to the first lab session.

 

3. Goto to your cis343 directory and create a lab5 directory.

Lab Sessions

This lab will take place during 3 sessions:

 

  1. Monday (3/15): Background and Design
  2. Monday (3/22): Debugging/Testing

Deliverables

You will be submitting the code that shows the solution for the bounded buffer problem as outlined in your textbook. Your files should be in your cis343/lab5 directory.

Submission

You need to submit this assignment by 8AM March 31st.

 

% cd ~cis343/lab5

 

% turnin cis343 prog3

 

NOTE: view the output of the turnin to verify that all of the necessary files have been submitted.