A technical guide to understanding the fundamental UNIX system calls for process management - fork(), exec(), and wait(). Learn how they work, with practical C code examples and an explanation of the underlying mechanism.
2020
2019
Operating Systems: Understanding Process States, PCBs, and Threads
December 8, 2019
An in-depth look at core Operating Systems concepts related to processor management. This post covers the classic three process states (Running, Ready, Blocked) and transitions, the structure and management of the Process Control Block (PCB), the concept of timesharing via virtual CPUs, Resource Control Blocks (RCB), and a thorough explanation of threads (ULTs vs. KLTs) with memory segment visualizations.