operating-systems

Definition

Primary Process Table

The primary process table is a kernel data structure containing pointers to the context of every active process in the system. It maps a process identifier (PID) to its corresponding process control block (or process image).

Purpose

The OS uses this table to:

  1. Track: Monitor the lifecycle of all processes.
  2. Dispatch: Locate the saved context during a process switch.