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
Why do threads block on i/o?
Brief description about local interfaces?
What value does read() return when it has reached the end of a file?
What is the difference between RMI and Corba?
Which class is the immediate superclass of the menucomponent class?
When a thread blocks on i/o, what state does it enter?
Are enterprise beans allowed to use thread.sleep()?
What is a modular application?
What is the difference between the string and stringbuffer classes?
What is the difference between static and non-static with examples?
Can we sent objects using Sockets?
What is JTS?
What is synchronization and why is it important?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
What state does a thread enter when it terminates its processing?