Task Control Block (TCB)
Learned in SE350.
A Task Control Block (TCB) is a data structure used by the operating system to manage and keep track of information about a process or thread. It contains important details such as:
Process State: Whether the process is ready, running, waiting, etc. Process Privileges: Access levels of the process. Process ID: Unique identifier for the process. Register State: Values of the CPU registers for the process. Program Counter: The address of the next instruction to execute. Memory Pointers: Information about the process’s memory allocation. I/O Status Information: Details about the input/output operations of the process. Accounting Information: Usage of resources by the process.
TCB is a control block for tasks. As opposed to Process Control Block for processes.