The dining philosophers problem revisited

被引:0
|
作者
Gutknecht, Juerg [1 ]
机构
[1] ETH, CH-8006 Zurich, Switzerland
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present an alternative solution to the Dining Philosophers problem that is based on Peterson's mutual exclusion algorithm for N processes, with the benefit of not using any ingredients beyond atomic read and write operations. We proceed in two steps towards a comprehensible, symmetric, and starvation-free algorithm that does neither rely on atomic test-and-set instructions nor on synchronization constructs such as monitors, signals, semaphores, locks, etc.
引用
收藏
页码:377 / 382
页数:6
相关论文
共 50 条