Question
Which dining-philosophers strategy prevents circular wait?
Select an option. Your answer will be checked instantly.
Correct Answer: D. Impose a global order on forks and acquire them in that order
Explanation:
Resource ordering prevents a cycle because all philosophers request forks according to one consistent order.
Without a cycle in resource requests, circular wait cannot occur.
Leave a Reply