Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Preemption, context switch, process control block?

Também chamado de: preemption · context switch · process control block

Definition 10.3 University Computer Science — Year 3 · Capítulo 10 — The Kernel and CPU Scheduling

Preemption is the kernel taking the processor away from a running process that did not ask to give it up. A context switch saves the state of the running process (its registers and program counter) and loads the saved state of another, which then resumes where it stopped. The process control block is the kernel’s record of a process: its saved state, its memory map, its open files, its scheduling information.

Ler no capítulo →