Chapter 7. Thread Scheduling, Priorities, and Affinities
In this chapter: |
A preemptive operating system must use some algorithm to determine which threads should be scheduled when and for how long. In this chapter, we’ll look at the algorithms that Microsoft Windows Vista uses.
In Chapter 6, we discussed how every thread has a context structure, which is maintained inside the thread’s kernel object. This context structure reflects the state of the thread’s CPU registers when the thread was last executing. Every 20 milliseconds ...
Get Windows® via C/C++, Fifth Edition 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.