6 Windows Internals m6 Slides
6 Windows Internals m6 Slides
Thread stacks
Thread Priorities
1 4 6 8 10 13 15 16 24 31
Priority
Demo
Thread Priorities
CPU
Ready
Running
priority
5
31
16
8 6 4
4 7
Waiting
888 2 1 3
Thread Scheduling (single processor)
Init (0)
Preemption,
Preempt quantum end
Ready, (1)
Deferred Standby (3) Running (2)
Ready (7)
Voluntary
switch
Transition (6)
Waiting (5)
Kernel
Terminate (4)
stack outswap
The Scheduler
Thread Scheduling
The Quantum
Thread Quantum