The Runtime Theory
medium · 8h · 13 steps

Operating Systems Intermediate

System calls, concurrency, processes, and virtual memory — the intermediate concepts that keep operating systems correct and performant.

Curriculum (13 steps)

1

An operating system is the resource manager and abstraction layer between hardware and applications, providing processes, memory, files, and devices.

Start→
2

A process is an executing program with its own memory, state, and identity, tracked by the kernel through a process control block.

Start→
3

Visual comparison of processes and threads: memory isolation, creation cost, communication, and failure boundaries.

Start→
4

Follow a process from creation through ready, running, I/O wait, back to ready, and termination — the five states and how the kernel transitions between them.

Start→
5

How applications request kernel services through system calls, the cost of mode switching, and common syscall patterns.

Start→
6

How threads share memory safely using mutexes, semaphores, condition variables, and the race conditions they prevent.

Start→
7

A process is a protected resource container with an address space and operating-system-managed resources.

Start→
8

Follow the key state changes and boundary checks involved in processes, threads, and the cost of sharing.

Start→
9

An interactive concept flow for processes, threads, and the cost of sharing, from its assumptions through the main operation and boundary checks.

Start→
10

Virtual memory lets each process use an address space that is translated through page tables and hardware translation caches.

Start→
11

Follow the key state changes and boundary checks involved in virtual memory and the page-fault path.

Start→
12

An interactive concept flow for virtual memory and the page-fault path, from its assumptions through the main operation and boundary checks.

Start→
13

Explain the model, execution steps, complexity, and limits of synchronization makes shared state predictable.

Start→