A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Threads and Synchronization
Process communication and shared resources
Joined: Nov 30, 2011
Apr 11, 2013 05:01:40
One way to solve the dining philosophers problem is to impose the following condition: "The act of picking up both forks is atomic". how would atomic action solve the dining philosophers problem
I agree. Here's the link:
subject: Process communication and shared resources
How does multiple calls to lock cause Deadlock?
threads and objects
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015