Thread control block: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 3:
'''Thread Control Block''' ('''TCB''') is a [[data structure]] in an [[operating system kernel]] that contains [[Thread (computing)|thread]]-specific information needed to manage the thread.<ref>{{Cite web |date=2019-11-26 |title=Thread Control Block in Operating System |url=https://www.geeksforgeeks.org/thread-control-block-in-operating-system/ |access-date=2023-09-04 |website=GeeksforGeeks |language=en-us}}</ref> The TCB is "the manifestation of a thread in an operating system."
 
Each thread has a thread control block. An operating system keeps track of the thread control blocks in kernel memory.<ref>{{Cite web |title=CS162 - Fall 2014 #7 - Kernel Threads|url=https://inst.eecs.berkeley.edu/~cs162/fa14// |access-date=2023-12-07 |website=inst.eecs.berkeley.edu}}</ref>
 
An example of information contained within a TCB is: