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
What is string length in java?
What is singleton class in ruby?
How do you add spaces in java?
What is widening and narrowing in java? Discuss with an example.
What are the advantages of passing this into a method instead of the current class object itself?
What is the function of http?
Why can't you declare a class as protected?
What are "methods" and "fields"?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What is a final class ?
What is logical variable?
What is t in generics in java?
What is a function easy definition?
How to find the given number is a prime number or not by getting input from the user
What are the steps that are followed when two computers connect through tcp?