posted 19 years ago
Hi, for dining philosopher problem, any good suggestions on how to implement it using RMI? The requirement is no communication btw clients, and no centralized controller..
I have figured out how to solve deadlock and starvation problem. But how to solve:
1. if a client take chopsticks and are eating, but lost connection for server.
2. chopstick sharing problem as in previous post.
3. efficiency. there won't be any philosopher eat too many times or someone eat too few times.
thanks for the help!!!