
Programming with POSIX threads
David R. Butenhof · 1997
Programming and computer science › C and C++
#7,518 most recommended
Hacker News
5
mentions by 5 people · top 48% of 15,732 books
Open Library
3.00★★★★★★★★★★
1 rating · 1 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
Sure. IMO it is important to have an overall picture of the fields of Concurrent/Parallel/Distributed architecture/programming before delving into the details…
K&R's _C Programming Language_, because my father saw me start to write Schrodinger's equation in BASIC and said I should take a look. Stroustrup's _The C++…
What Open Library readers say 3.00 from 1 rating
- 50
- 40
- 31
- 20
- 10
- 1 want to read
- 0 reading
- 1 have read
Only 1 rating: treat the average as a hint.
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)
Read next: its neighbours on the mosaic
Debugging applicationsRobbins, John · 2000 · recommended by 4 people · loosely similar by subject
C Concurrency in ActionAnthony Williams · 2012 · recommended by 14 people · 2 people recommended both
UNIX systems programmingKay A Robbins · 2003 · recommended by 6 people · similar by subject and what people say about it
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · 2 people recommended both
C interfaces and implementationsDavid R. Hanson · 1996 · recommended by 46 people · 2 people recommended both
The C++ standard template libraryP. J. Plauger · 2001 · recommended by 1 person · similar by subject and what people say about it
Practical UNIX programmingKay A. Robbins · 1996 · recommended by 2 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · similar by subject and what people say about it
Ruminations on C++Andrew Koenig · 1996 · recommended by 3 people · similar by subject and what people say about it
Advanced UNIX programmingMarc J. Rochkind · 1985 · recommended by 12 people · similar by subject and what people say about it
Advanced programming in the Unix environmentW. Richard Stevens · 1992 · recommended by 100 people · similar by subject and what people say about it
Compiler construction for digital computersDavid Gries · 1971 · recommended by 1 person · loosely similar by subject
Intel Threading Building BlocksJames Reinders · 2007 · recommended by 2 people · similar by subject and what people say about it
Advanced Linux programmingMark G. Mitchell · 2001 · recommended by 1 person · similar by subject and what people say about it
The art of multiprocessor programmingMaurice Herlihy · 2008 · recommended by 27 people · similar by subject and what people say about it
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
Advanced programming language designRaphael A. Finkel · 1996 · recommended by 2 people · similar by subject and what people say about it
Programming on PurposeP. J. Plauger · 1997 · recommended by 7 people · similar by subject and what people say about it
The UNIX programming environmentBrian W. Kernighan · 1984 · recommended by 86 people · similar by subject and what people say about it
The art of computer programmingDonald Knuth · 1968 · recommended by 336 people · similar by subject and what people say about it
Understanding Linux network internalsChristian Benvenuti · 2005 · recommended by 2 people · similar by subject and what people say about it
Design concepts in programming languagesFranklyn A. Turbak · 2008 · recommended by 7 people · similar by subject and what people say about it
The C puzzle bookAlan R. Feuer · 1982 · recommended by 10 people · similar by subject and what people say about it
Discovering Modern C++Peter Gottschling · 2015 · recommended by 4 people · similar by subject and what people say about it