real time example for deadlock,starvation,livelock
Answers were Sorted based on User's Feedback
Answer / maheswarijothi
pls send answer immediately.................
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / 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 |
Answer / amit
livelock........
i think this answer should be justify......
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / prateek shrivastava
Dead lock generally occurs when 2 threads try to acquire
same shared resource. In this case each thread end up
waiting for other to release lock and deadlock occurs
| Is This Answer Correct ? | 5 Yes | 5 No |
Can you make a constructor final in Java?
0 Answers SwanSoft Technologies,
What is the difference between a switch statement and an if statement?
What is array pointers ?
what is the difference b/w design pattern and architecture
What is flush buffer?
What is the difference between iterator and list iterator?
What is a nonetype?
What is difference between Heap and Stack Memory?
How to add two numbers with out using Arithmetic , union operators in java....? But we can use bitwise operators... but how...?
What is inheritance?
5 Answers Accenture, Hexaware, Syntel,
What is the difference between abstraction and encapsulation?
Where we write javascript code in html page?