计算机科学 > 分布式、并行与集群计算
[提交于 2007年5月23日]
标题:Fair Solution to the Reader-Writer-Problem with Semaphores only
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The reader-writer-problem is a standard problem in concurrent programming. A resource is shared by several processes which need either inclusive reading or exclusive writing access. The known solutions to this problem typically involve a number of global counters and queues. Here a very simple algorithm is presented which needs only two semaphores for synchronisation and no other global objects. The approach yields a fair solution without starving.
提交历史
来自:H. Ballhausen[v1] 2007年5月23日 星期三 00:00:00 UTC