What is a Thread Control Block (TCB), and how does it differ from a PCB?
Last updated
A TCB (Thread Control Block) stores per-thread execution state: thread ID, program counter, registers, stack pointer, state, and scheduling info.
A PCB (Process Control Block) stores per-process resources shared by all threads: PID, address space, open file table, and accounting info. Many TCBs point to one PCB.
Thread context switches are cheaper because only TCB state changes, not the address space held in the PCB.