Many readers at once or one writer alone: a read-write lock from a lock, a count and a semaphore, and the writer it can starve.
This interactive visualization needs JavaScript.