Team Liquid - Shop now
Add Prime to get Fast, Free delivery
Amazon prime logo
Buy new:
-22% $31.14
FREE delivery Saturday, December 14 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: TX Store Depot
$31.14 with 22 percent savings
List Price: $39.99
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Saturday, December 14 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Sunday, December 8. Order within 6 hrs 54 mins.
Only 1 left in stock - order soon.
$$31.14 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$31.14
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Returns
Returnable until Jan 31, 2025
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Returns
Returnable until Jan 31, 2025
For the 2024 holiday season, eligible items purchased between November 1 and December 31, 2024 can be returned until January 31, 2025.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$7.74
Get Fast, Free Shipping with Amazon Prime FREE Returns
Item in acceptable condition including possible liquid damage. As well answers may be filled in. May be missing DVDs, CDs, Access code, etc. Item in acceptable condition including possible liquid damage. As well answers may be filled in. May be missing DVDs, CDs, Access code, etc. See less
FREE delivery Friday, December 13 on orders shipped by Amazon over $35
Or Prime members get FREE delivery Sunday, December 8. Order within 6 hrs 54 mins.
Only 1 left in stock - order soon.
$$31.14 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$31.14
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

See all
Something went wrong. Please try your request again later.

PThreads Programming: A POSIX Standard for Better Multiprocessing 1st Edition

4.2 4.2 out of 5 stars 54 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$31.14","priceAmount":31.14,"currencySymbol":"$","integerValue":"31","decimalSeparator":".","fractionalValue":"14","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Qp4rNIkAaRcqk7S98hESJK9HenIgqEIiZPCaHAGJcZCZaL8bagoVcHC44N%2F1F6HXzAQDwNGFsdCObxYoRH2qYT9BZMaOBd2qwvi6Ja7eu1sjcrd3EOLEKGtEkoR47G3QZ7FD9vw4q18o2i8CB41vHQIscRh3ZdZc4QOlGEPi7cyqbPcO7wuQowArdRfJTi8Y","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$7.74","priceAmount":7.74,"currencySymbol":"$","integerValue":"7","decimalSeparator":".","fractionalValue":"74","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Qp4rNIkAaRcqk7S98hESJK9HenIgqEIi3ZBcet74LIwZwcfE4drIfSvGNugRRMexIyQP7Lxxf9%2FoEPL6ujWzl5TpxNBpat2%2BKQN4PEMin1pcXKOGeX8iBBQoK%2F8lUI4AMDT3hgI1iopcsC8Q16J2yHk876yVm9qxDtkgwfdcBPQBjR6b1JeeAKGNfr63JrHh","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Computers are just as busy as the rest of us nowadays. They have lots of tasks to do at once, and need some cleverness to get them all done at the same time. That's why threads are seen more and more often as a new model for programming. Threads have been available for some time. The Mach operating system, the Distributed Computer Environment (DCE), and Windows NT all feature threads. One advantage of most UNIX implementations, as well as DCE, is that they conform to a recently ratified POSIX standard (originally 1003.4a, now 1003.1c), which allows your programs to be portable between them. POSIX threads are commonly known as pthreads, after the word that starts all the names of the function calls. The standard is supported by Solaris, OSF/1, AIX, and several other UNIX-based operating systems. The idea behind threads programming is to have multiple tasks running concurrently within the same program. They can share a single CPU as processes do, or take advantage of multiple CPUs when available. In either case, they provide a clean way to divide the tasks of a program while sharing data. A window interface can read input on dozens of different buttons, each responsible for a separate task. A network server has to accept simultaneous calls from many clients, providing each with reasonable response time. A multiprocessor runs a number-crunching program on several CPUs at once, combining the results when all are done. All these kinds of applications can benefit from threads. In this book you will learn not only what the pthread calls are, but when it is a good idea to use threads and how to make them efficient (which is the whole reason for using threads in the first place). The authors delves into performance issues, comparing threads to processes, contrasting kernel threads to user threads, and showing how to measure speed. He also describes in a simple, clear manner what all the advanced features are for, and how threads interact with the rest of the UNIX system. Topics include:
  • Basic design techniques
  • Mutexes, conditions, and specialized synchronization techniques
  • Scheduling, priorities, and other real-time issues
  • Cancellation
  • UNIX libraries and re-entrant routines
  • Signals
  • Debugging tips
  • Measuring performance
  • Special considerations for the Distributed Computing Environment (DCE)

Amazon First Reads | Editors' picks at exclusive prices

Editorial Reviews

From the Publisher

Computers are just as busy as the rest of us nowadays. They have lots of tasks to do at once, and need some cleverness to get them all done at the same time. That's why threads are seen more and more often as a new model for programming. Threads have been available for some time. The Mach operating system, the Distributed Computer Environment (DCE), and Windows NT all feature threads. One advantage of most UNIX implementations, as well as DCE, is that they conform to a recently ratified POSIX standard (originally 1003.4a, now 1003.1c), which allows your programs to be portable between them. POSIX threads are commonly known as pthreads, after the word that starts all the names of the function calls. The standard is supported by Solaris, OSF/1, AIX, and several other UNIX-based operating systems. The idea behind threads programming is to have multiple tasks running concurrently within the same program. They can share a single CPU as processes do, or take advantage of multiple CPUs when available. In either case, they provide a clean way to divide the tasks of a program while sharing data. A window interface can read input on dozens of different buttons, each responsible for a separate task. A network server has to accept simultaneous calls from many clients, providing each with reasonable response time. A multiprocessor runs a number-crunching program on several CPUs at once, combining the results when all are done. All these kinds of applications can benefit from threads. In this book you will learn not only what the pthread calls are, but when it is a good idea to use threads and how to make them efficient (which is the whole reason for using threads in the first place). The authors delves into performance issues, comparing threads to processes, contrasting kernel threads to user threads, and showing how to measure speed. He also describes in a simple, clear manner what all the advanced features are for, and how threads interact with the rest of the UNIX system. Topics include: Basic design techniques Mutexes, conditions, and specialized synchronization techniques Scheduling, priorities, and other real-time issues Cancellation UNIX libraries and re-entrant routines Signals Debugging tips Measuring performance Special considerations for the Distributed Computing Environment (DCE)

From the Back Cover

Computers are just as busy as the rest of us nowadays. They have lots of tasks to do at once and need some cleverness to get them all done at the same time. That's why threads are becoming a new model for programming. Microsoft Windows NT, the Distributed Computing Environment (DCE), and many UNIX-based operating systems support threads. One advantage of most UNIX and DCE implementations is that they conform to a recently ratified POSIX standard (originally 1003.4a, now 1003.1c), which allows your programs to be portable between them. The POSIX threads standard, commonly known as Pthreads, is supported by most UNIX-based operating systems. With threads programming, multiple tasks run concurrently within the same program. They can share a single CPU as processes do or take advantage of multiple CPUs when available. They provide a clean way to divide the tasks of a program while sharing data. In this book you will learn when to use threads and how to make them efficient. The book delves into performance issues, comparing threads to processes, contrasting kernel threads to user threads, and showing how to measure speed. It describes in a simple, clear manner what all the advanced features are for and how threads interact with the rest of the UNIX system.

Product details

  • Publisher ‏ : ‎ O'Reilly Media; 1st edition (October 8, 1996)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 286 pages
  • ISBN-10 ‏ : ‎ 1565921151
  • ISBN-13 ‏ : ‎ 978-1565921153
  • Item Weight ‏ : ‎ 1.04 pounds
  • Dimensions ‏ : ‎ 7.13 x 0.62 x 9.17 inches
  • Customer Reviews:
    4.2 4.2 out of 5 stars 54 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.2 out of 5 stars
54 global ratings

Top reviews from the United States

Reviewed in the United States on January 23, 2022
This book explains threading very well, but doesn't make threading any less complicated. No book will I think!. Prepare for some tougher reading than normal. It has a 1996 copy write, but the info seems very relevant. I'm glad I got it.
Reviewed in the United States on October 26, 2013
I got this because I work enough with Pthreads that I figured it might behoove me to become somewhat competent with the range of features in the implementation. I was expecting a quick and dirty extraction of the major points (O'Reilly books are good for that), but I was surprised with the more thoughtful examination of when to use what features, which provided a good explanation of why one would use certain features, rather than simply how. I think it would have been more helpful had I been introduced when I started working with multithreading in POSIX, but it definitely provided some good things to mull over. It's not the authoritative source like Butenhof (I've only skimmed over that), but it's good for a working knowledge, which is often all you want, need, or have time for.

A solid background in C and UNIX/LINUX programming is necessary to get a lot out of this book. I would recommend it to someone learning concurrent or real-time systems, although more experienced programmers have a solid reference.
5 people found this helpful
Report
Reviewed in the United States on March 22, 2018
I converted my client/server program from multiprocesses to multithreaded in only 2 days due to the very straightforward book! VERY HAPPY!!
One person found this helpful
Report
Reviewed in the United States on September 7, 2015
There are some macros that I cannot use on my compiler so I had to look it up
Reviewed in the United States on March 30, 2011
I bought this book a couple of years ago to do a project in Pthreads on Solaris.
It was indispensable and I highly recommend it. I was able to make use of some
of the example code to reshape into my own code framework.
One person found this helpful
Report
Reviewed in the United States on June 20, 2012
This is a nice book, very clear and covers lots of important points. But it there is much more to learn about te architecture of threaded programs (books on concurrent or parallel programming may help), and there also are synchronization primitives not covered in the book (barriers and semaphores).

Anyway, it's a nice first threads book for someone who already knows C.
4 people found this helpful
Report
Reviewed in the United States on November 17, 2011
This book is an awesome book for learning pthread programming. All the concepts are explained
very nicely and it also explains the tadeoffs between processes/user level thread/kernel level thread.
One person found this helpful
Report
Reviewed in the United States on January 13, 2013
I used soe of it , and did not finish reading , but considered a good start in addition to teh website that talks more with exmaples abut using teh pthreads

Top reviews from other countries

Translate all reviews to English
Jitu
5.0 out of 5 stars Pthread Bible
Reviewed in India on June 9, 2019
So far I covered the book 70 percentage. Its outstanding and unmatchable explanation with perfect exapmles with questions n ans. It's a pthread Bible I can say...

THE MOST COMPREHENSIVE BOOK WITH PERFECT AND ENOUGH EXAMPLES.

One of the best book with rich content and with right examples!!!
Great explanation.
Outstanding delivery of knowledge.
Non of the book explains Mutithreading ,Mutiprocessing , Synchronization so clearly with Pthread examples like this book. It's unmatched and dishonor to compare with other books which explains Pthread.

Hats up to author. Big Congratulations.
I am truly happy. Big Thank you to author.
Marc Poitras
4.0 out of 5 stars This books provides a comprehensive description of the pthreads library ...
Reviewed in Canada on November 17, 2015
This books provides a comprehensive description of the pthreads library. It certainly is the definitive reference that I use when I need to design/modify multi-threaded applications using the pthread library. Note that it is not an introductory course on multi-threading but simply a detailed description and user manual of the pthread library/api.
Cliente Amazon
3.0 out of 5 stars Nice content, really nice book
Reviewed in Spain on July 8, 2016
The content is great, really fundamental if you wish to acquire knowledge in the POSIX threads.

The quality of the book is a bit low... The letters are a bit blurry and the cover is weak.
rackham
5.0 out of 5 stars Indispensable
Reviewed in France on February 9, 2015
Livre très recherché en voie d'être épuisé
Indispensable pour qui veut faire du multithreading en C
Les notions théoriques abordées peuvent être appliquées à d'autres langages (Python)
Roshni Customer
3.0 out of 5 stars Three Stars
Reviewed in India on May 18, 2015
It is good