Readers/Writers Problem
The problem consists of readers and writers that share a data resource. The
readers only want to read from the resource, the writers want to write to it.
Obviously, there is no problem if two or more readers access the resource
simultaneously. However, if a writer and a reader or two writers access the
resource simultaneously, the result becomes indeterminable. Therefore the
writers must have exclusive access to the resource.
Design
Documentation
Source Code