Delay:

No event
c3p2c2
p3 p1
c0p0c1
Not started

Sample code



Ref: Dining_philosophers   Java jar is here