Description: 英国帝国理工学院电脑系多线程课程教学材料之九 ---- 哲学家晚餐范例(无死锁,需要引用到原问题的部分代码)-The version avoids the possibility of deadlock by making even numbered philosophers pick up the chopsticks in a different order from the rest. That is, left first rather than right first. Platform: |
Size: 1024 |
Author:Key |
Hits: