The Gateway to Computer Science Excellence
0 votes
31 views
A system has two processes and three identical resources. Each process needs a maximum of two resources. Is deadlock possible? Explain your answer.
in Operating System by Veteran (60.5k points) | 31 views

1 Answer

0 votes
No, deadlock is not possible.

Because in the worst case each process gets one resource and we still have one more resource left, which can be assigned to one of the processes. After some time that process will release the resources and can be assigned to another process.
by Junior (737 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,832 questions
57,685 answers
199,268 comments
107,174 users