topic / operating-systems
Operating Systems
See how the kernel shares processors, memory, storage, and devices.
Learn how processes, threads, virtual memory, scheduling, synchronization, file systems, and I/O turn hardware into usable abstractions for programs.
7 articles · 4 videos · 2 traces · 2 request flows · 2 interviews · 17 total
Articles
Concurrency Basics: Locks and Semaphores
How threads share memory safely using mutexes, semaphores, condition variables, and the race conditions they prevent.
Deadlocks: Conditions and Prevention
How deadlocks form under four necessary conditions, and the strategies (prevention, avoidance, detection) to manage them.
Scheduling: How the OS Chooses What Runs Next
CPU scheduling algorithms from first-come-first-served to modern multi-level feedback queues and the Completely Fair Scheduler.
System Calls: The User-Kernel Boundary
How applications request kernel services through system calls, the cost of mode switching, and common syscall patterns.
What Is a Process?
A process is an executing program with its own memory, state, and identity, tracked by the kernel through a process control block.
What Is an Operating System?
An operating system is the resource manager and abstraction layer between hardware and applications, providing processes, memory, files, and devices.
The Kernel Turns Shared Resources Into Program Abstractions
Understand how processes, virtual memory, scheduling, files, and system calls let programs share a machine.
Request Flows
Videos
Operating Systems Advanced: Scheduling, Deadlocks, and Concurrency
Deep dive into CPU scheduling algorithms, deadlock prevention and detection, and advanced concurrency patterns for reliable systems.
DetailsOperating Systems Foundations
A beginner walkthrough of what an OS does, how processes work, and how processes differ from threads.
DetailsOperating Systems Intermediate
Dive into system calls, concurrency with locks and semaphores, process management, and virtual memory.
DetailsWhat Happens During a read() System Call
A planned trace separates the userspace wrapper, kernel entry, descriptor lookup, cached data, I/O wait, and return value.
DetailsTraces
Interviews
Explore adjacent
New lessons by email
Get new explanations about operating systems and related systems in your inbox.
One technical dispatch per week. No noise.