added rwlock example