What is thread deadlock? How to resolve thread deadlock?

Answers were Sorted based on User's Feedback



What is thread deadlock? How to resolve thread deadlock?..

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

What is thread deadlock? How to resolve thread deadlock?..

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

What is thread deadlock? How to resolve thread deadlock?..

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

Post New Answer

More Advanced Java Interview Questions

To identify IDL language what mapping mechanism is used?

0 Answers  


what is a dirty read?

1 Answers  


whats is mean by filter?

1 Answers   SolutionNET,


How do you iterate in Hashmap?

1 Answers   HCL, Infotech,


What is JasperReports?

2 Answers  






a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??

2 Answers  


what is domain,give me some brief information about that?

1 Answers  


What is an applet?

5 Answers  


How two threads will communicate with each other?

2 Answers  


what are memory considerations of jsp compares to other web components?

0 Answers   TCS,


What is clustering? What are the different algorithms used for clustering?

0 Answers  


Have you used threads in Servelet?

0 Answers   Satyam,


Categories