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...

real time example for deadlock,starvation,livelock

Answer Posted / keerthi

deadlock:let two members are going to draw some picture.they are combinedly having pencil &ruler.one uses pencil,another is having ruler.unless u r with these two the drawing will not be completed.this is dealock.
livelock:two members are walking towards each other through a narrow corridor .Both of them are going tocross the corridor,this is known as livelock.

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What all access modifiers are allowed for top class ?

1197


What are the different ways of creating thread?

1020


What is the difference between assignment and initialization?

1059


From the two, which would be easier to write: synchronization code for ten threads or two threads?

1067


What are inner classes or non static nested classes in java?

1187


how to deploy apache tomcat server to weblogic server in java

2105


Is it possible to override the main method?

989


How many arguments can be passed to main ()?

1005


When do we use synchronized methods in java?

1056


Explain the polymorphism principle?

1031


what is the difference between preemptive scheduling and time slicing? : Java thread

1047


What is procedure writing?

989


What is nullpointerexception in java?

1170


can rmi and corba based applications interact ?

1092


Explain a situation where finally block will not be executed?

1050