Fair Solution to the Reader-Writer-Problem with Semaphores only

arXiv:cs/0303005 First posted 2003-03-08 v1 2 pages
Cite this paper ×
BibTeX
@misc{ballhausen2003fair,
  title = {Fair Solution to the Reader-Writer-Problem with Semaphores only},
  author = {H. Ballhausen},
  year = {2003},
  eprint = {cs/0303005},
  archivePrefix = {arXiv},
  primaryClass = {cs.DC},
  url = {https://arxiv.org/abs/cs/0303005}
}
APA
Ballhausen, H. (2003). Fair Solution to the Reader-Writer-Problem with Semaphores only [Preprint]. arXiv. https://doi.org/10.48550/arXiv.cs/0303005
GB/T 7714
BALLHAUSEN H. Fair Solution to the Reader-Writer-Problem with Semaphores only[EB/OL]. (2003-03-08)[2026-11-29]. https://arxiv.org/abs/cs/0303005.

Abstract

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.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!