Question OS-SYNC-0014
MediumIn the classic dining philosophers problem, how can deadlock arise?
- A.
A philosopher eats too quickly
- B.
Philosophers take turns eating
- 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
Process Synchronization question
In the classic dining philosophers problem, how can deadlock arise?
A philosopher eats too quickly
Philosophers take turns eating
Sign up free to see the answer and a step-by-step explanation.
There are more forks than philosophers
Every philosopher picks up their left fork at the same moment and waits for the right one