- Livelock describes situation where two threads are busy responding to actions of each other.
- They keep repeating a particular code so the program is unable to make further progress:
- Thread 1 acts as a response to action of thread 2
- Thread 2 acts as a response to action of thread 1
- Unlike deadlock, threads are not blocked when livelock occurs.
- They are simply too busy responding to each other to resume work.
- In other words, the program runs into an infinite loop and cannot proceed further.
No comments:
Post a Comment