5 Windows Kernel Synchronization

IN CHAPTER 2, Synchronization and Time, we discussed some of the basics of synchronization. This included the circumstances in which it’s necessary to synchronize and some of the associated pitfalls. In this chapter, we’ll look closely at the most fundamental support for synchronization offered by the Windows OS: kernel objects. These objects serve as the basic building blocks for all concurrent programs and primitive data structures. In fact, whether or not you use these objects directly in your code, you will almost always rely on them at some layer of software. Just about all synchronization primitives available in Win32 and the .NET Framework, including Win32 critical sections and CLR monitors (see ...

Get Concurrent Programming on Windows 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.