Need to change it so the waiter looks every second. then the hungry transitions should not be an issue. mike CS 110, Dining Phils Project 1

CS 110 Intro to Computer Systems
Dining Philosophers Project
Due Date - See Calendar
30 Points for Basic Project
10 Points for Demo

Introduction

You are to implement a Robust Dining Philosopher's solution. Your solution is to work in the following way:

While this is a neat problem, as written no one knows what the heck is going on. Thus you MUST have another process, the Waiter, who monitors the Philosopher's table. Because he wants to get a good tip, every 2 seconds the Waiter looks at the table and determines (prints out in a horizontal Santillo format,

Termination

When all the Philosophers are done eating the Waiter prints out one more time and the program dies.

Input Parameters

There are 4 parameters to the program (in order): These parameters are provided as command line parameters and you will get ALL or NONE but you must check for valid values.

Implementation Notes:

Stuff You Need to Turn-in or Submit:

Where to Turn-In Paper:

To the plastic bin outside mike's office.

References:

Notes: