Marshall Wace Interview Question

How do read-write mutex locks work?