Implementation of Processes and Threads by the Linux Kernel
2 min readJan 23, 2022
Sessions
A session is a group of processes that run under the control of a single user. Only a single session is active on a system and the user can only interact with the foreground (active) session. It contains a number of process groups where a process group has a process group ID and can contain a number of processes. A process can also contain a number…