Type a branch, a subject or a topic — “round robin”, “paging”, “civil”.

Operating Systems

Every topic is a step-by-step animation with the reasoning written beside it — not just what the OS did, but why it decided that.

Start from the beginning →

11 topics you can watch now, 17 still to come.

Foundations

What an operating system actually is, and why one exists at all.

Processes

The unit of work an OS schedules, and the states it moves through.

  • Context switching
  • Threads vs processes
  • Inter-process communication

CPU Scheduling

Who gets the CPU next, and what each answer costs you.

  • Multilevel feedback queues

Virtual Memory

What happens when the pages you need do not fit in memory.

  • Paging and address translation
  • Segmentation
  • Thrashing and the working set

Synchronisation

Two processes, one shared variable, and everything that can go wrong.

  • Race conditions
  • Critical sections and Peterson's solution
  • Semaphores
  • Producer-consumer
  • Readers-writers
  • Dining philosophers

Deadlock

The four conditions, and the cost of each way out.

  • Coffman conditions
  • Resource allocation graphs
  • Banker's algorithm
  • Detection and recovery
Dashed entries are mapped but not animated yet. The running order is not fixed until a topic is built. Browse the other subjects.