Added sketch for RW lock