Thread Control Block(TCB)

Similar to Process Control Block(PCB), each thread maintains a table called Thread Control Block(TCB) which contains thread specific information.

Some of the common attributes kept in TCB are:

  • Thread ID
  • The content of CPU Register
  • Program Counter(PC)
  • Scheduling Information
  • Thread state(status)
  • Stack Pointer
  • Signal Mask
  • Thread Parameters like start function, stack size.
  • Pointer to PCB of the process of which thread is part of

Diag-1: PCB-TCB Relation

PCB-TCB Relation


A relevant posts



Categories: Operating system (OS)

9 replies

Trackbacks

  1. Types of Threads - Tech Access Info
  2. User Level Threads - Tech Access
  3. Index of Operating System - Tech Access
  4. Mutual Exclusion(Mutex) - Tech Access
  5. Characteristics of a Thread - Tech Access
  6. Thread in OS - Tech Access
  7. Process vs Thread - Tech Access
  8. Thread create attributes: - Tech Access
  9. Odd Even problem by two threads - Tech Access

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: