Processes and Threads
Sep 24, 2025Ben Dicken

Summary
This post introduces the fundamental concepts of processes and threads as operating system abstractions for executing code and managing resources. It explains how processes enable multitasking by allowing the CPU to switch between different programs, detailing context switching, process states, and the system calls fork() and execve() for process creation. The post also contrasts this with threads, highlighting their lighter weight and shared memory space, setting the stage for understanding different concurrency models.