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 deadlock in threads?
with example

Answer Posted / ak

If an object A is holding an object X and trying to access
object Y and Object B is holding an object Y and trying to
access X, both the objects A,B want to release their
objects only after getting access to the target object in
that situation it is a dead lock

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the legal parameters?

1022


How do you check if a number is a perfect square?

997


Difference between concurrent hashmap and hashtable and collections

1075


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

995


What is immutable state?

1036


Can private members of a base class are inheritable justify?

933


How to create a base64 decoder in java8?

1066


What is ternary operator in java?

1071


What is the difference between == and === javascript?

1194


Why are pointers not secure?

1040


what is thread? What are the high-level thread states? : Java thread

1285


What is a method vs function?

1056


What is Classloader in Java?

1233


What is use of functional interface in java 8? Explain

1027


Why Java doesn’t support multiple inheritance?

1051