Deadlock-Proof Your Code: Part 1 & 2

In today’s world of multicore computing, it’s important to make sure that your multithreaded applications scale. A longstanding approach for making the most of multiple processors is to arrange for different resources to be protected by different synchronization objects, or locks. A drawback of this approach is that a bug in your threading model can lead to a deadlock.

http://www.drdobbs.com Part 1

http://www.drdobbs.com Part 2