Java deadlock
1 Answer(s)      6 years and 5 months ago
Posted in : Java Interview Questions
What is deadlock?


View Answers

October 27, 2010 at 4:33 PM


Here is the answer,

Deadlock describes a situation where two or more threads are blocked forever, waiting for each other.

Deadlock occurs when multiple threads need the same locks but obtain them in different order. If you make sure that all locks are always taken in the same order by any thread, deadlocks cannot occur.

For more details please go to the link.


Related Tutorials/Questions & Answers:
Java deadlock
Java deadlock  What is deadlock
Java deadlock prevention
Java deadlock prevention  preventing from deadlock in Java   You can read through Deadlock tutorial posted on roseindia. Deadlock in Java
code for database deadlock sicuation in java
code for database deadlock sicuation in java  how to prepare code for database deadlock situation in java(JDBC
Deadlock  hii, What is deadlock?   hello, Deadlock is a situation when two or more processes prevent each other from running
Deadlock      ..., this situation is known as Deadlock. Lets see a situation in the diagram shown below where the deadlock condition is occurred
Deadlock       Deadlock Deadlock is a unique situation in a multi user system that causes two or more users to wait indefinitely for a locked resource. First
What do you mean by Deadlock?
What do you mean by Deadlock?  What do you mean by Deadlock
corejava - Java Beginners
Deadlock Core Java  What is Deadlock in Core Java?   Deadlock is nothing but accessing a same space by different by different programs at the same time . To avoid this problem java has a concept called synchronization
Thread Deadlocks - Java Tutorials
Thread Deadlock Detection in Java Thread deadlock relates to the multitasking. When two threads have circular dependency on a synchronized, deadlock... lock that holds by first thread, this situation is known as Deadlock. Example
Multithreading ? - Java Interview Questions
Multithreading ?   Hi Friends, I am new to java , am not clear with Multithreading. Multithread will cause deadlock. We can implement Synchronization keyword or singlethreadmodel interface to avoid deadlock
Java Deadlocks - Java Deadlocks Tutorials, Deadlocks in Java
Java DeadLock In this tutorial you will learn about Deadlocks in Java. Author explains about Java Deadlocks in Java. It is very important to make your program detect and resolve the deadlock situations. This article explains
need to connect and disconnect multiple databases(databases created in mysql) using java and my sql
need to connect and disconnect multiple databases(databases created in mysql) using java and my sql  i am working on a project on deadlock in distributed transactions , and in that i am using my sql in java i need
Threading in Java
as Deadlock. Lock and Synchronized Threads Java uses monitor also... Threading in Java      ... is very important in Java Programing language. A thread is a sequential path
use of synchronozation - Java Interview Questions
to avoid the deadlock condition If there is a portion of code within a method... visit to : http
java  diff bt core java and java
java  what is java
Java   Whether Java is pure object oriented Language
java  different between java & core java
java  explain technologies are used in java now days and structure java
java   why iterator in java if we for loop
JAVA  how the name came for java language as "JAVA
java  what is java reflection
java  is java open source
what is the size of array in java ?  what is the size of array in java ? what is the mean of finalize in java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception
java  write a java program using filenotfoundexception
Java  how to draw class diagrams in java
java  explain object oriented concept in java
java  is java purely object oriented language
Java   Whether Java is Programming Language or it is SOftware
java  what are JAVA applications development tools