In which cases is it dangerous to use ReentrantLock and in which cases should ReentrantLock be used?
ReentrantLock