Restaurant System
Simulates a restaurant system using multithreading
Hostess, Order, Restaurant, Table, Tables, Waiter
-
Each Table is a resource
- Each resource is a thread pool that can hold up to a certain number of threads
- When that table is full, this table is locked from further access
-
Each Customer is a thread
- When there are no resources available, customer threads queue up to wait for the next available table
- When there are no available tables,