What is thread deadlock? How to resolve thread deadlock?
Answers were Sorted based on User's Feedback
Answer / mayur laniya
Deadlock is describe a situation , where more than one
threads are blocked, forever (Continue) in a waiting for
each other to released the resources.
- I think deadlock can't be resolved by writtong such kind
of programming statements.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / s.ramesh
Deadlock describes a situation where two or more threads are
blocked forever, waiting for each other.
Deadlock cann't be resolved.....
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / 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 |
what is difference between checked exception & unchecked exception in java?
String is immutable.it is true String can be change to mutable How?
6 Answers IBM, Professional Access, TCS,
how the mapping can be done from jsp to actionservlet?
What is source and listener?
What is the relationship between the canvas class and the graphics class?
To make an object to begin executing as a separate thread, what method is used?
Explain Object Serialization and it can be used?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
What are synchronized methods and synchronized statements?
What is the main functionality of RRL(Remote Reference Layer)?
Do you think that java should have had pointers?
what is default length of textfield ?