Chapter 6. Synchronization
In this chapter, we will take a close look at common synchronization problems and how to troubleshoot and find the root cause as efficiently as possible. The chapter starts out by explaining the basic synchronization primitives available in the CLR, is followed by a number of practical debugging scenarios showcasing the most common synchronization problems, and then discusses how to use the debuggers to get at the root cause.
Synchronization Basics
The Windows operating system is a preemptive and multithreaded operating system. Multithreading refers to the capability to run any number of threads concurrently. If the system is a single processor machine, Windows creates the illusion of concurrent thread execution by ...
Get Advanced .NET Debugging 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.