Thread deadlocks, synchronized thread code demonstration in Java
2,342 views · Published 26 June 2018 · 8:50 · Indexed 21 September 2026
Channel: Brandan Jones · 2018 · Education
What is the synchronized block? What is a thread deadlock? How do threads get locked in Java, and how can you diagnose them? What is a semaphore? In this video, we do a live example of thread deadlocks in the Java programming language. Source code for this example is freely available in GitHub: https://github.com/discospiff/ThreadExamples This video is part of a playlist on threading examples in Java: https://www.youtube.com/watch?v=1BvYJMgIAeU&list=PL73qvSDlAVVi2t3mX_SlrCrjd90OzV7Se