.. _sched_parts: Parts of the Scheduler ======================= The main functional components of the scheduler are: #. .. describe:: Enqueuer It adds a pointer or reference to the process' :ref:`pcb` as per the desired data structure of the ready queue, which is usually a collection of linked lists. #. .. describe:: Dispatcher The part that implements the scheduling algorithm to pick the next process to run. #. .. describe:: Context Switcher Loads the selected process onto the CPU as the running process. .. figure:: scheduler_parts.png :align: center