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 are the call back methods in entity bean?
what is the Remote Stub?
What is local interface. How values will be passed?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
What is the purpose of the wait(), notify(), and notifyall() methods?
types of exceptions
what is the Scope of Final Keyword in Java?
what are JSP tags? what is difference between include action and directory?
How can a dead thread be restarted?
Which Taglibraury you used in your project? plz send me ans....which we r using generally
What state a thread enters, When it blocks on I/O?
Can you control when passivation occurs?