Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Preemption, context switch, process control block?

Dikenal juga sebagai: preemption · context switch · process control block

Definition 10.3 University Computer Science — Year 3 · Bab 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.

Baca dalam konteks →