536 views
1 votes
1 votes
In the dining philosophers problem, let the following protocol be used: An even-numbered philosopher always picks up his left fork before picking up his right fork; an odd-numbered philosopher always picks up his right fork before picking up his left fork. Will this protocol guarantee deadlock-free operation?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
3
admin asked Oct 25, 2019
175 views
Consider the procedure put forks in Fig. $2-47$. Suppose that the variable $state[i]$ was set to THINKING after the two calls to test, rather than before. How would this ...
0 votes
0 votes
0 answers
4