Currently dispatched threads

The scheduler chooses the thread that has the strongest claim to the use of the processor.

The considerations that affect that choice are discussed in Processor scheduler performance. When the thread is dispatched, the logical state of the processor is restored to the state that was in effect when the thread was interrupted.