The Runtime Theory
Operating SystemsPlanned

Operating Systems Foundations

Video not available yet
15:00#beginner#os#processes#threads#kernel

Lesson Promise

By the end of this lesson, you will understand what an operating system is, what a process is, the five process states, and how processes differ from threads.

Narration Draft

Part 1 — What Is an OS? (3:00) An operating system is a resource manager and abstraction layer. Kernel vs user mode. The four roles: resource manager, abstraction layer, extended machine, file system.

Part 2 — What Is a Process? (4:00) A process is an executing program with its own memory and identity. Process Control Block (PID, state, registers, page tables). The five states.

Part 3 — Process Lifecycle Trace (4:00) Walk through fork() → ready queue → scheduled → running → I/O wait → ready → running → exit. Show context switches.

Part 4 — Process vs Thread (4:00) Memory isolation, creation cost, communication, failure boundaries. When to use each.

Visual Sequence

  1. OS layering: application → kernel → hardware
  2. Process Control Block fields (PID, state, registers, page tables)
  3. State transition diagram: New → Ready → Running → Waiting → Terminated
  4. Context switch: save state A, restore state B
  5. Process vs thread: separate address spaces vs shared memory

Companion Material

Related articles

More in Operating Systems

New lessons by email

Get new articles and notes on the systems behind everyday software.

One technical dispatch per week. No noise.

Not started

Sign in to save your learning progress.

Sign in to save