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 will happens, when a thread cannot acquire a lock on
an object?

Answer Posted / sudarsan

It will be waiting in runnable stage untill it acquire
object lock.
We call explicitly send this thread to blocked stage using
wait() or sleep() methods to avoid wasting cpu time.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mdb and what is the special feature of that?

1011


What is threadfactory?

1038


What is chat area? Explain.

962


What are the services in RMI ?

2302


How can I scroll through list of pages like the search results in google?

921


Can I have an action without a form?

1051


Difference between new operator and class.forname().newinstance()?

1085


What you mean by COM and DCOM?

1018


What class is used to create Server side object ?

2179


What is an abstract method?

1004


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

1039


How would you reatach detached objects to a session when the same object has already been loaded into the session?

1140


Do we need to override service() method

1658


What method is invoked to cause an object to begin executing as a separate thread?

977


What is colon_pkg_prefixes and what is its use?

2463