Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
51 used & new from $1.98

Have one to sell? Sell yours here
 
   
Pthreads Programming: A POSIX Standard for Better Multiprocessing (O'Reilly Nutshell)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

Pthreads Programming: A POSIX Standard for Better Multiprocessing (O'Reilly Nutshell) (Paperback)

by Bradford Nichols (Author), Dick Buttlar (Author), Jacqueline Proulx Farrell (Author)
3.7 out of 5 stars See all reviews (11 customer reviews)

List Price: $34.95
Price: $23.07 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $11.88 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
28 new from $16.90 23 used from $1.98
Also Available in: List Price: Our Price: Other Offers:
Paperback (Bargain Price) 12 used & new from $16.95
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Pthreads Programming: A POSIX Standard for Better Multiprocessing (O'Reilly Nutshell) and get What You Need To Know: when you can't find your UNIX system administrator at an additional 5% off Amazon.com's everyday low price.

Pthreads Programming: A POSIX Standard for Better Multiprocessing (O'Reilly Nutshell) + What You Need To Know: when you can't find your UNIX system administrator
Buy Together Today: $40.12

Show availability and shipping details


Customers Who Bought This Item Also Bought

Programming with POSIX(R) Threads (Addison-Wesley Professional Computing Series)

Programming with POSIX(R) Threads (Addison-Wesley Professional Computing Series)

by David R. Butenhof
4.4 out of 5 stars (24)  $48.34
Multithreaded Programming With PThreads

Multithreaded Programming With PThreads

by Bil Lewis
2.9 out of 5 stars (7)  $26.56
POSIX Programmers Guide

POSIX Programmers Guide

by Donald Lewine
POSIX.4 Programmers Guide: Programming for the Real World

POSIX.4 Programmers Guide: Programming for the Real World

by Bill Gallmeister
Threads Primer: A Guide to Multithreaded Programming

Threads Primer: A Guide to Multithreaded Programming

by Bil Lewis
Explore similar items

Editorial Reviews

Product Description
POSIX threads, or pthreads, allow multiple tasks to run 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. This book thoroughly covers the POSIX threads standard, which is supported by the Distributed Computer Environment (DCE), as well as Solaris, OSF/1, AIX, and several other UNIX-based operating systems. 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 clearly describes all the advanced features and how threads interact with the rest of the UNIX system.

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)

See all Editorial Reviews

Product Details

  • Paperback: 286 pages
  • Publisher: O'Reilly Media, Inc.; 1 edition (September 1, 1996)
  • Language: English
  • ISBN-10: 1565921151
  • ISBN-13: 978-1565921153
  • Product Dimensions: 9.1 x 7 x 0.8 inches
  • Shipping Weight: 1.1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.7 out of 5 stars See all reviews (11 customer reviews)
  • Amazon.com Sales Rank: #149,552 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #13 in  Books > Computers & Internet > Hardware > Parallel Processing Computers
    #28 in  Books > Computers & Internet > Databases > Distributed Databases

Look Inside This Book

Citations (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(3)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

11 Reviews
5 star:
 (3)
4 star:
 (3)
3 star:
 (4)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.7 out of 5 stars (11 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
21 of 22 people found the following review helpful:
3.0 out of 5 stars Okay for concepts, but no help in coding, June 23, 1999
The strength of this book is it's brevity: 233 pp of text plus appendices. But the code samples are incomplete (fragments). You'll be able to get an idea of how pthreads work and the methods available, but you'll have a very hard time if you need to actually write code. There is an error on p.126. If you want to write code, get "Programming with POSIX Threads" by David Butenhof. It has complete code examples and is not that much longer: 305 pp of text plus appendices. But I did find this Nichols book helpful when I was curious about pthreads. I commend O'Reilly for the nice illustrations in this book -- above average. They helped convey concepts.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
13 of 14 people found the following review helpful:
3.0 out of 5 stars Good Pthreads book but I like other available books better, January 4, 1999
By A Customer
Of the 4 I've read on the topic, this is a good book but my personal preference (based on how the information was presented, the relevance of coding examples, etc.) is for the Butenhof Pthreads book (excellent) or the Lewis, et. al. Multithreaded Programming book (also very good).
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 12 people found the following review helpful:
4.0 out of 5 stars I think it provides a good overview, September 22, 2000
By Dan Crevier (Bellevue, WA United States) - See all my reviews
(REAL NAME)   
I agree with the other reviews that it's not the ultimate authority on pthreads, but I think it provides a great overview from a very practical standpoint. It has lots of good discussions on when to use threads, general design priniciples of using threads, problems you will likely encounter, and discussions of performance. It also has some good examples, including an example of how to turn some non-thread-safe linked list code into thread-safe code. I really like that its brief and doesn't go into too many details -- you can read it from cover to cover. If you want more details, you will want to refer to one of the other books that the other reviewers have mentioned.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Walk before you run
With all the sophisticated tools available today such as OpenMP, this book may seem quaint. However, before grasping at concepts or just using tools without any understanding or... Read more
Published 9 months ago by bernie

3.0 out of 5 stars Good for learning the basics but incomplete for modern multithreading programming
This book does a nice job for describing the pthread API. When I have read this book, my multithread programming experience was mainly with Win32 threads and reading this book was... Read more
Published 23 months ago by Olivier Langlois

5.0 out of 5 stars Excellent book overall, with some minor errors
This is the best Pthreads book. The writing style is conversational, very easy to read and interlaced with code examples. Read more
Published on June 24, 2006 by Adrien Lamothe

5.0 out of 5 stars Excelent book to get you started with Pthreads
The book along with the code examples provided in O'reilly's web site provide an excelent starting point to the Pthreads programmer. Read more
Published on April 21, 2005 by Shlomo Anglister

2.0 out of 5 stars o'reilly should be embarrased!!
I read the book a number of years ago to learn pthreads.
I found numerous errors in the examples -- speaking
at work to a colleague I recall we laughed at this book --
It... Read more
Published on September 27, 2002

4.0 out of 5 stars Pretty Good
I found it too be an excellent overview. Its treatment of the issues associated with threads and signals I think was especially useful. Read more
Published on September 15, 2001 by David Rajaratnam

3.0 out of 5 stars Not the best effort I've read...
The short code snippets are horrible. If the author wants to save money and space by using code snippets, it should be checked and checked again for accuracy. Read more
Published on May 7, 2001 by Gregorio

4.0 out of 5 stars Second best book on the subject
As usual, O'Reilly have produced an excellent reference book. In a few respects, this book is preferable to Scott Norton's "Thread Time" - it has better examples, for... Read more
Published on January 4, 1998

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


The New Braun bodycruZer

Braun bodyCruzer Men's Body Groomer
Introducing the new Braun bodycruZer with a precision trimmer to efficiently trim body hair and a Gillette blade for smooth, clean shaving results.

Shop now

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 
Shop for the Sjoberg Workbench
Swedish-Made Sjoberg WorkbenchKeep your work area organized with the beautifully made and useful Sjoberg workbench.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
Glenn Beck's Common Sense
Finger Lickin' Fifteen
Finger Lickin' Fifteen by Janet Evanovich
My Soul to Lose
My Soul to Lose by Rachel Vincent

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates