Pregunta de entrevista de Birdeye

How would you implement your ReadWrite Lock.