ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > Class(2017-2018-1)ZSTU > student homework directory > 2015329620031_余兵兵 >
homework6 Version 0
👤 Author: by 1142486972qqcom 2017-12-07 08:52:34
Question:Consider v the dining -philosophers problem where the chopsticks are placed at the center of the table and any two of them could be used by a philosopher. Assume that requests for chopsticks are made one at a time. Describe a simple rule for determining whether a particular request could be satisfied without causing deadlock given the current allocation of chopsticks to philosophers.

Solution:The rule is: hold and wait to prevent the occurrence of deadlock.To ensure that the hold

Please login to reply. Login

Reversion History

Loading...
No reversions found.