• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

dining philosopher

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic