Pregunta de entrevista de Marshall Wace

How do read-write mutex locks work?