2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/31484The 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.2 pagesDistributed, Parallel, and Cluster ComputingD.1.3Fair Solution to the Reader-Writer-Problem with Semaphores onlytext