Process control block

A process control block (PCB), also sometimes called a process descriptor, is a data structure used by a computer operating system to store all the information about a process.

When a process is created (initialized or installed), the operating system creates a corresponding process control block, which specifies and tracks the process state (i.e. new, ready, running, waiting or terminated). Since it is used to track process information, the PCB plays a key role in context switching.[1]

An operating system kernel stores PCBs in a process table.[2]

The current working directory of a process is one of the properties that the kernel stores in the process's PCB.[3]

  1. ^ "Process Control Block | Baeldung on Computer Science". 25 June 2020.
  2. ^ "Class 9: The Unix Filesystem". www.usna.edu. Retrieved 2023-12-09.
  3. ^ "CS 537 Notes: Directories". pages.cs.wisc.edu. Retrieved 2023-12-09.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search