Pergunta de entrevista da empresa Birdeye

How would you implement your ReadWrite Lock.