This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deadlock

 
Karthik Gupta
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

can anyone tell me how to prevent deadlock.

thanks

karthik
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no universal way to avoid deadlock for any given program. The way to prevent it is to design your application correctly. You'd be better off reading the large number of papers on the subject that you can find through any search engine. As this is a very complex subject, any answer here is going to be cursory at best.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic