Code example for ReentrantReadWriteLock

Methods: readLockwriteLock