Very similar to Process Control Blocks (PCBs) which represents processes, Thread Control Blocks (TCBs) represents threads generated in the system. It contains information about the threads, such as it’s ID and states.
The components have been defined below:
- Thread ID: It is a unique identifier assigned by the Operating System to the thread when it is being created.
- Thread states: These are the states of the thread which changes as the thread progresses through the system
- CPU information: It includes everything that the OS needs to know about, such as how far the thread has progressed and what data is being used.
- Thread Priority: It indicates the weight (or priority) of the thread over other threads which helps the thread scheduler to determine which thread should be selected next from the READY queue.
- A pointer which points to the process which triggered the creation of this thread.
- A pointer which points to the thread(s) created by this thread.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Bad Block in Operating system
- Thread in Operating System
- Boot Block in Operating System
- Thread Models in Operating System
- Thread States in Operating Systems
- Process Table and Process Control Block (PCB)
- File System Implementation in Operating System
- System Protection in Operating System
- System Programs in Operating System
- Web Operating System
- Concurrency in Operating System
- Segmentation in Operating System
- Paging in Operating System
- Kernel in Operating System
- Introduction of Operating System - Set 1
- Inode in Operating System
- Best-Fit Allocation in Operating System
- Multithreading in Operating System
- Functions of Operating System
- Multilevel Paging in Operating System
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.