educative.io

Why the quiz says the result will be a deadlock?

Could you please answer in details? Thank you.


Course: https://www.educative.io/courses/java-multithreading-for-senior-engineering-interviews
Lesson: StampedLock - Java Multithreading for Senior Engineering Interviews