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.

What are the four conditions required for deadlock to occur?

What are the four conditions required for deadlock to occur?

Answers


Faith
The four conditions required for deadlock to occur are:
i. Mutual Exclusion – the processes must be trying to access the same resource at the same time
ii. Circular Wait – the processes exist in a circular chain, where each is waiting for the resource held by
the next member of the chain.
iii. Hold & Wait – process holds a resource, DOESN'T GIVE IT BACK, and blocks because it's waiting for
more
iv. No Preemption – resource can't be forcibly taken from the process holding it
Titany answered the question on April 26, 2022 at 09:24

Answer Attachments

Exams With Marking Schemes

Related Questions