in Operating System
3,306 views
0 votes
0 votes
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
3.3k views

1 Answer

0 votes
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.

Related questions