System has 5 processes with a single resource R having 'K' copies. Each process needs exactly 3 copies to complete their execution. What is the max value of 'K' for which deadlock occurs?
Open in App
Solution
If each process gets 2 copies of R and falls short by 1 then deadlock occurs in worst case.