Question OS-DL-0039
EasyWhich of these situations is NOT a deadlock?
- A.
A process waiting for the user to type on the keyboard
- B.
P1 waits for P2's lock while P2 waits for P1's lock
- 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
Which of these situations is NOT a deadlock?
A process waiting for the user to type on the keyboard
P1 waits for P2's lock while P2 waits for P1's lock
Sign up free to see the answer and a step-by-step explanation.
Three processes each waiting for a resource held by the next in a cycle
Two threads each holding one file and waiting for the other's file