• Post Reply Bookmark Topic Watch Topic
  • New Topic

DeadLock

 
amit bhadre
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,


The Q is, If deadlock occurs how to remove deadlock or overcome deadlock?

That is I use simple thread programming in code and not use synchronise the threads.But deadlock occured.Then I want to remove deadlock then I want to write as synchronized , but before I was not aware that deadlock will occur.So how to overcome....?




['If u say C, C++ as SEA but JAVA is OCEAN]

cheers
amit bhadre
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try looking through the prior subjects in this forum. Deadlock has been addressed many times before.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Warning: Advanced! Automatically Detecting Deadlocks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!