Dale - Computer Science Illuminated 362

Dale Computer - 10.4 CPU Scheduling 335 one for each process in that state When a process moves from one state to another its corresponding PCB is

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Context switch The exchange of register information that occurs when one process is removed from the CPU and another takes its place Nonpreemptive sched- uling CPU scheduling that occurs when the currently executing process gives up the CPU voluntarily Preemptive scheduling CPU scheduling that occurs when the oper- ating system decides to favor another process, preempting the currently executing process 10.4 CPU Scheduling 335 one for each process in that state. When a process moves from one state to another, its corresponding PCB is moved from one state list to another in the operating system. A new PCB is created when a process is first created (the new state) and is kept around until the process terminates. The PCB stores a variety of information about the process, including the current value of the program counter, which indicates which instruction in the process is to be executed next. As the life cycle indicates, a process may be interrupted many times during its execution. At each point, its program
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/13/2011 for the course CSE 1550 taught by Professor Marianakant during the Fall '10 term at York University.

Ask a homework question - tutors are online