In the previous chapter, you looked at resource leaks. In this chapter, you will diagnose and debug another common problem type, that of synchronization deadlocks, but you will use Linux as your operation system and GDB as a debugger. Some problem types do not require all debugging pattern layers; only some may be sufficient. For example, with postmortem debugging, sometimes the debugging analysis stage is sufficient.
12. Case Study: Deadlock
Get Python Debugging for AI, Machine Learning, and Cloud Computing: A Pattern-Oriented Approach now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.