In this lesson, you’ll continue exploring locks and learn about deadlock and how to avoid it. A lock is also called a mutex in other languages. If you download the sample code, you can get your own copy of
To learn more, you can also check out the documentation on
threading.current_thread as well as the Wikipedia page for deadlock.
Anonymous on Nov. 21, 2019
Thank you for this very useful course. You explained the reentrant lock syntax but you didn’t explain where it is useful, what situation would requires a reentrant lock?