DeepRead
Cover of The little book of semaphores

The little book of semaphores

Allen B. Downey · 2008

Programming and computer science › Lisp and Scheme

#1,958 most recommended

About the book

A short introduction to synchronization in concurrent programs, covering semaphores, threads, and the coordination problems that arise when several execution paths share state. It is aimed at operating systems students and programmers who write multithreaded code. Its central claim is that the core ideas of synchronization are best learned by working through classic coordination puzzles, such as the dining philosophers, rather than by memorizing primitives. It presents semaphores as the basic tool for building mutual exclusion, signaling, and barriers, and shows how the same patterns recur across different problems. Each puzzle is followed by a worked solution, so correct coordination is treated as something to reason about step by step.

Written by Claude from what it knows of this book.

What Hacker News says 82% recommend · 0% critical

051020102015202020222015 peak · 7
This bookAverage book in Lisp and Scheme

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 6 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2008
ISBN
9781441418685
Editions known
2 at Open Library
Open Library
OL19884353W

Computer programmingOperating systems (Computers)

Explore in the mosaic

Read next: its neighbours on the mosaic