This repository has been archived by the owner on May 27, 2019. It is now read-only.
This release contains the solution for actual dining philosophers problem.
My attempt at resolving this problem uses an additional thread for waiter which decided who should eat at the given moment. There is also a queue for the waiter so the waiter thread knows who wait the longest time.
There is another additional thread which is used for finishing the program which waits for a q
on a standard input stream.
User Interface is done on the main thread.