Birdeye Interview Question

How would you implement your ReadWrite Lock.