• Post Reply Bookmark Topic Watch Topic
  • New Topic

dining philosopher  RSS feed

 
Howie Jiang
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!