How to create a deadlock in Java
This article shows how to create a deadlock in Java. A deadlock occurs when two threads each hold a lock that the other thread is waiting for. Neither of them can proceed without acquiring the lock held by the other thereby creating a deadlock. To study and analyse a deadlock you should be able to […]