@shmVirus

Processes and Threads

Address spaces, the process lifecycle, threads, and the cost of context switching.

A process is an instance of a running program with its own address space, file descriptors, and state. This chapter covers process creation and termination, the fork-exec model, threads as lightweight execution units sharing an address space, and the overhead of context switching.