Chapter 3. Processes and Threads

It is necessary to the happiness of man that he be mentally faithful to himself. Infidelity does not consist in believing, or in disbelieving; it consists in professing to believe what he does not believe.

—Thomas Paine[1]

[1] Paine, Thomas. The Age of Reason, ed. Philip S. Foner. New York: Citadel Press, 1974, p. 50.

In this chapter, we'll explore processes and threads within Windows. We'll discuss how processes and threads differ and how they're similar, and we'll talk about the unique role each plays within the Windows operating system.

We'll also explore in detail how the Windows thread scheduler works and how threads are scheduled on and off of processors. We'll talk about thread synchronization and how multithreaded ...

Get Guru's Guide to SQL Server Architecture and Internals, The 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.