Q1. Explain implementation of Thread in the Kernel.
Ans. The kernel’s thread table holds each thread registration, state and other information. The information is the same as with the use-level threads, but now kept in the kernel instead of the user space (inside the run-time system). This information is the subset of information that traditional kernels maintain about their single-threaded process, that is, the process state. In addition, the kernel also maintains the traditional process table to keep track of processes.
Figure: A thread package managed by kernel