Chapter 10. Synchronization
In this chapter, we take a close look at some very 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 Windows followed by a number of practical debugging scenarios showcasing common synchronization problems and how to use the debuggers to find 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 enabling each thread to run ...
Get Advanced Windows 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.