Chai Prep

Operating systems

Understand the machine under your code.

A full course, from a single system call down into the kernel and back up through processes, scheduling, concurrency, memory and file systems. Every idea is drawn out as a clear visual and explained the way a working engineer needs it.

Handwritten A4 diagram: an interleaving table with two thread columns (T1, T2) and a shared "count" column; count starts at 5; rows show T1 load 5, T2 load 5, T1 add=6, T2 add=6, T1 store 6, T2 store 6; the final count is circled as 6 with a note "should be 7, one increment lost".Chapter 14, Race Conditions & the Critical SectionAnatomy of a race: count++ is three steps
37
chapters
7
parts
296
illustrated pages
11
hours of reading

What the course covers

37 chapters in 7 parts.

Read them in order, or jump to the topic you need. Every section pairs a clear written explanation with a drawn page you can take in at a glance.

Questions

Good to know.

Who is this course for?
Developers and CS students who can already write and run programs, but want to understand what happens underneath them: how a process is born, how the CPU is shared, why concurrency is hard, and how memory is stretched across many programs at once.
How is a chapter laid out?
Each chapter opens with a short introduction, then works through its topic one section at a time. Every section pairs a drawn page with a written explanation, so you can take in the picture first and then read the detail.
How long does it take?
About 11 hours of reading in all, across 296 sections. A chapter takes between 13 and 19 minutes, so one fits comfortably into a study session.

See what your program is really asking for.

Start with the introduction for a map of the whole course, then work through the parts in order or jump to the one your next interview needs.