Marshall Wace interview question

How do read-write mutex locks work?