519 views
0 votes
0 votes
Explain the differences between deadlock, livelock, and starvation.

1 Answer

0 votes
0 votes

Answer:

Deadlock Livelock Starvation
ln this, a group of the member is waiting for the other member to release its lock, hence ceasing each other from accessing the resource.

Livelock is a particular case of starvation.

It is different from deadlock because all the processes are in the state of waiting.

When some process is never serviced, even when it's not in deadlock, then this situation is called starvation.
edited by

Related questions

251
views
0 answers
0 votes
admin asked Oct 30, 2019
251 views
Local Area Networks utilize a media access method called CSMA/CD, in which stations sharing a bus can sense the medium and detect transmissions as well as ... you suggest a solution to this anomaly?Can starvation occur with this scenario?
218
views
0 answers
0 votes
admin asked Oct 30, 2019
218 views
Assume two processes are issuing a seek command to reposition the mechanism to access the disk and enable a read command. Each process is interrupted before ... or a livelock? What methods would you recommend to handle the anomaly?
265
views
0 answers
0 votes
admin asked Oct 30, 2019
265 views
Main memory units are preempted in swapping and virtual memory systems. The processor is preempted in time-sharing environments. Do you think that these ... handle resource deadlock or for other purposes? How high is their overhead?
793
views
2 answers
0 votes
admin asked Oct 30, 2019
793 views
One way to prevent deadlocks is to eliminate the hold-and-wait condition. In the text it was proposed that before asking for a new resource, a process ... of the existing ones to competing processes. Propose an improvement to this scheme.