Alex Rivera | Logout

Differences (if any) among livelock and starvation in Operating systems

Asked 2011-06-20T13:21:41.230
10

What are the differences (if any) among the starvartion and livelock Or just they are the synonyms used? If there is a difference please some one afford an example.

Note: I have seen the wikipedia...but confused...

Thanks

Edit
Report

1 Answer

14

Livelock is a special case of resource starvation where two processes follow an algorithm for resolving a deadlock that results in a cycle of different locked states because each process is attempting the same strategy to avoid the lock.

Starvation itself can occur for one process without another process being cyclically blocked; in this case no livelock exists, just a single unfortunate process that gets no resources allocated by the scheduler.

answered 2011-06-20T13:28:48.480

Your Answer