What is thread deadlock? How to resolve thread deadlock?
Answer Posted / divya
Deadlock can be resolved at design level.
* Instance referring to an object of Shared Resources.
* Infinite waiting for an event to happen in run method.
In the above mentioned case make sure that synchronization
is not been done.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is Remote Server?
What restrictions are placed on the location of a package statement within a source code file?
What are the sequence of steps to write pub or sub model kind of application?
what are getters and setters in Java with examples?
Difference between DurableSubscription and non- DurableSubscription?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
what is handle?
What are the diff types of exception?
what are memory considerations of jsp compares to other web components?
Java is fully object oriented languages or not?
How primary key is implemented in Oracle?
What is aop(assepct oriented programing)?
What is RMI and what are the services in RMI?
What is a tasks priority and how is it used in scheduling?
What is the form of storage space in java?