Q.

A solution to the Dining Philosophers Problem which avoids deadlock is

A. ensure that all philosophers pick up the left fork before the right fork.
B. ensure that all philosophers pick up the right fork before the left fork.
C. ensure that one particular philosopher picks up the left fork before the right fork, and all other philosophers pick up the right fork before the left fork.
D. none of the above
Answer» C. ensure that one particular philosopher picks up the left fork before the right fork, and all other philosophers pick up the right fork before the left fork.
984
0
Do you find this helpful?
10

Discussion

No comments yet

Related MCQs