DeepRead
Cover of Programming with POSIX threads

Programming with POSIX threads

David R. Butenhof · 1997

Programming and computer science › C and C++

#7,518 most recommended

About the book

A practical guide to programming with the POSIX threads (pthreads) API for C, covering thread creation and management, mutexes, condition variables, and related synchronization primitives. It is aimed at programmers writing multithreaded applications on Unix-like systems who need to understand how the API behaves in practice. The book holds that threaded programs are hard to get right mainly because of shared state, so correctness depends on designing explicit rules for which data each thread may touch and under which lock. It stresses that condition variables must be re-checked against a predicate in a loop, and that library code needs documented thread-safety guarantees. It also argues that the API is best learned through the model underneath it, not by memorizing function signatures.

Written by Claude from what it knows of this book.

What Hacker News says 80% recommend · 0% critical

01220102015202020232023 peak · 2
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say 3.00 from 1 rating

  1. 50
  2. 40
  3. 31
  4. 20
  5. 10
  • 1 want to read
  • 0 reading
  • 1 have read

Only 1 rating: treat the average as a hint.

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

Details

First published
1997
ISBN
9780201633924
Editions known
2 at Open Library
Open Library
OL2637209W

Computer programmingElectronic digital computers, programmingPOSIX (Computer software standard)Qa76.76.t55 b88 1997Threads (Computer programs)

Explore in the mosaic

Read next: its neighbours on the mosaic