CPU scheduler

The part of the kernel that decides which runnable thread gets a processor next and for how long.

In more detail

Many more threads want to run than there are processors, so the scheduler switches between them many times a second. A process that is sleeping, waiting for input, is not on the scheduler's run queue until its data arrives. The scheduler is one of the privileged jobs only the kernel does.

Related terms

Taught in

References