Hello, for a programming assignment I have been asked to implement a solution to the Dining Philosopher problem. I must do so in two ways:
- Use the wait() and notifyAll() mechanism
- Using an existing concurrent data structure provided in the Java API
I have already complete the first implementation. Which concurrent data structure is my professor talking about for step two? I don't remember her mentioning anything. I don't need any source code, just a pointer in the right direction.