aspose file tools*
The moose likes Threads and Synchronization and the fly likes Deadlock Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Deadlock" Watch "Deadlock" New topic
Author

Deadlock

Karthik Gupta
Greenhorn

Joined: Feb 17, 2005
Posts: 3
Hi

can anyone tell me how to prevent deadlock.

thanks

karthik
David Harkness
Ranch Hand

Joined: Aug 07, 2003
Posts: 1646
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deadlock
 
Similar Threads
is this call synchronized ?
urlyBird 1.2.3
Doubt on Thread - Is the code went in to DeadLock state ?
How To Avoid Deadlock?
deadlock