A thread is a basic unit of CPU utilization, with its own:

  • program counter (PC)
  • private set of registers
  • stack

context switch happen also in threads, but virtual address space is shared.

The state of the thread is stored in the TCB (thread control block).