Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Explain 4 approaches that can be employed to recover from deadlocks.

Explain 4 approaches that can be employed to recover from deadlocks.

Answers


Chei
i)preemption;take a resource from one process and give it to other,this will resolve the deadlock situations.
ii)roll back;in situation where deadlock is a real possibility,rolling back everything back to the last checkpoint and restart,but allocating resources differently so that a deadlock does not occur.
iii)kill one or more processes;is the simplest way which works very fast.


Softwaretech answered the question on April 23, 2019 at 10:21

Answer Attachments

Exams With Marking Schemes

Related Questions