Skip to main content

Operating Systems

How the machine actually runs your programs: how it hands the CPU back and forth between threads, how it keeps processes from stepping on each other, and how a handful of tiny atomic operations turn into locks, semaphores and monitors.

The notes are filed by topic, and both topics so far are built from UC Berkeley's CS162 lecture series - each lecture turned into a reading page with the original lecture embedded and the key slides captured inline.

Where to start​

  • Fundamental OS Concepts - the four ideas the course rests on (thread, address space, process, dual-mode operation) and the three abstractions a program touches: processes, files and I/O, and inter-process communication, across four lectures.
  • Synchronization & Concurrency - threads, the context switch, race conditions, locks, semaphores, monitors, and the readers/writers problem, across four lectures.
0%0 of 11 pages studied