Deadlocked Threads


  • Deadlocking is when thread execution grinds to a halt because the code is waiting for locks to be removed from objects.
  • Deadlocking can occur when a locked object attempts to access another locked object that is trying to access the first locked object. In other words, both threads are waiting for each other's locks to be released; therefore, the locks will never be released!
  • Deadlocking is bad. Don't do it.