Question OS-DL-0076
HardA resource-allocation graph has P1 → R1 → P2 → R2 → P1, with one instance of R1 and R2. What is true?
- A.
The graph is safe
- B.
P1 and P2 are deadlocked
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Deadlocks question
A resource-allocation graph has P1 → R1 → P2 → R2 → P1, with one instance of R1 and R2. What is true?
The graph is safe
P1 and P2 are deadlocked
Sign up free to see the answer and a step-by-step explanation.
R1 is free
Only P1 is waiting