End Google Ads 201810 - BS.net 01 --> Critical sections, a mechanism that prohibits more than one thread at a time from executing a particular section of code, is a topic that has not received much attention and thus tends not to be well understood. A solid understanding of critical sections in Windows can really come in handy when you need to track down multithreading performance issues in your code. This articles delves under the hood of critical sections to reveal information useful in finding deadlocks and in pinpointing performance problems. It also includes a handy utility program that shows all of your critical sections and their current states.

Matt Pietrek and Russ Osterlund

<a href="http://msdn.microsoft.com/magazine/71092bd2-3e54-42b6-8513-b129e98f13f0">MSDN Magazine December 2003