Reader-writer queue locks