Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Why do threads block on i/o?

0 Answers  


why we use main in java?

4 Answers  


1) Scenario: I developed my application on local system and everything is perfect and tested. Now on UAT this application is deployed on clustered server environment. They are logical or physically clustered. But application is not working over there. &#61656; What is the issue with application? &#61656; What are the first things which come in your mind?

1 Answers   L&T,


What is threadfactory?

0 Answers  


Why JDBC has introduced

4 Answers  


What is the difference between the session.get() method and the session.load() method?

0 Answers  


What are the different algorithms used for clustering?

0 Answers  


What are the high-level thread states?

1 Answers  


Do you think that java should have had pointers?

0 Answers  


diff vector arraylist

4 Answers   Saka Solutions,


what are the activation groupworks?

0 Answers  


What are the pros and cons of detached objects?

0 Answers  


Categories