The lecture given here is the seventh part in the “Introduction to Parallel Programming” video series. This part explains to the viewer the concept of deadlock between multiple threads and explains ways to prevent it. A code example with a locking hierarchy error is used to illustrate how deadlock can occur. This example is corrected after methods of deadlock prevention have been introduced.
Running time: 9:13
Note: The material presented in this lecture series has been taken from the Intel Software College multi-day seminar, “Introduction to Parallel Programming”, authored by Michael J. Quinn (Seattle University). The content has been reorganized and updated for the lectures in this series.