Threads must carry within their own resources a data structure known as a Thread Control Block (TCB). The TCB contains information about the thread such as its current state, program counter, stack pointer, and other relevant information necessary for the operating system to manage the thread's execution. The TCB is typically stored in the kernel's memory space and accessed by the operating system when scheduling and managing threads.
Hi! Threads must carry their own stack as a part of their resources. The stack is a data structure that allows threads to store local variables, manage function calls, and handle return addresses, enabling each thread to execute independently within the same process.