Assignment 4: Dining Java Philosophers
Notes
Class participation with monitors:
Cars coming from the north and south arrive at a one-lane bridge. Cars heading in the same direction can cross the bridge at the same time, but cars heading in opposite directions cannot.