Skip to content

heidtJJ/Multi-Thread-Restaurant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Thread-Restaurant

Our restaurant is an upscale à la carte restaurant, that allows customers to order one of several three course menus. This restaurant has one or more waiters. Each waiter waits on one or more customers. Each waiter serves each customer a three-course menu (an appetizer, a main course, and a dessert).

The waiter must serve only one course at a time, i.e., the waiter must wait for the customer to complete one course before serving another course. Once the customer completes a course, he/she must wait for the waiter to serve the next course. This concept is somewhat similar to the producer-consumer example.

The synchronized object in this assignment is a table. Each waiter serves one or more tables. Each customer eats at a single table allotted to that customer.

Please see MultiThreadedRestaurant.pdf for detail

About

This project is a mock-up of the multiple producers and multiple consumers problem at a restaurant. It also incorporates IO.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages