Operating System
  • Introduction
  • Chapter 1 Introduction
  • Chapter 2 Operating System Structures
  • Chapter 3 Processes
    • 3.1 Process Concept
    • 3.2 Process Scheduling
    • 3.3 Operation on Processes
    • 3.4 Interprocess Communication
  • Chapter 4 Threads
    • Summary: slides
    • 4.1 Overview
    • 4.2 Multithreading Models
    • 4.3 Thread Libraries
    • 4.4 Threading Issues
  • Chapter 6 Process Synchronization
    • 6.1 Background
    • 6.2 Critical-section problem
    • 6.3 Peterson's Solution
    • 6.4 Synchronization Hardware
    • 6.5 Semaphores
  • Summary ch1
  • Summary ch2
  • Summary ch3
  • Summary ch4
  • Summary ch5
  • Summary ch7
  • Summary ch6
  • Summary ch8
Powered by GitBook
On this page
  • Scheduling Queue
  • Scheduler
  • Context Switch

Was this helpful?

  1. Chapter 3 Processes

3.2 Process Scheduling

Previous3.1 Process ConceptNext3.3 Operation on Processes

Last updated 5 years ago

Was this helpful?

Scheduling Queue

Scheduler

  • long-term scheduler (job scheduler):selects processes from this pool and loads them into memory for execution.

  • short-term scheduler (CPU scheduler):selects from among the processes that are ready to execute and allocates the CPU to one of them.

Context Switch

  • Switching the CPU to another process requires performing a state save of the current process and a state restore of a different process. This task is known as a context switch.