Stock Image

Multithreaded Programming with PThreads

Lewis, Bill and Daniel J. Berg

4 ratings by Goodreads
ISBN 10: 0136807291 / ISBN 13: 9780136807292
Published by Prentice Hall / Sun Microsystems Press, Upper Saddle River, NJ, 1998
Used Condition: Very Good Soft cover
From Tony Ryan - Bookseller (Oakland, CA, U.S.A.)

AbeBooks Seller Since September 8, 1998 Seller Rating 3-star rating

Quantity Available: 1

Buy Used
Price: US$ 15.00 Convert Currency
Shipping: US$ 3.99 Within U.S.A. Destination, rates & speeds
Add to basket

30 Day Return Policy

About this Item

Currently in print for $34.95. NO marks or underlining. This title is IMMEDIATELY AVAILABLE. Bookseller Inventory # 012769

Ask Seller a Question

Bibliographic Details

Title: Multithreaded Programming with PThreads

Publisher: Prentice Hall / Sun Microsystems Press, Upper Saddle River, NJ

Publication Date: 1998

Binding: Quality Paperback

Book Condition:Very Good

Edition: First Printing

About this title

Synopsis:

This book will give the UNIX and NT programmer a solid, basic understanding of threads -- and the powerful new POSIX Pthreads library. The book begins with an overview of the need for, and evolution of multithreading. Understand how threads are constructed, and how operating systems like Solaris(r) provide support for them. Learn the fundamentals of thread scheduling and synchronization, understanding the trade-offs involved in using synchronization variables. Learn how to dispose of (cancel) unwanted threads; and manage asynchronous events via signaling. The book includes detailed coverage of writing and compiling multithreaded programs, including sample applications, libraries, design choices, performance optimization and hardware considerations. For all experienced C, UNIX and NT programmers who need to understand the new Pthreads library.

Review:

Multithreading lets programs do two or more tasks at once, and it can let programmers take advantage of the latest symmetric multiprocessor (SMP) systems in Unix. But to get this performance boost, you'll want to read Multithreaded Programming with Pthreads first. It delivers both the concepts behind multithreaded design along with real-world source code excerpts that show you how to apply the concepts to real-world Unix projects.

This book begins with the evolution of the various libraries that support multithreading. In the ecumenical spirit of Unix, the authors cover all the bases of Portable Operating System Interface for Unix (POSIX) libraries, including Linux, DEC, IBM, HP, and Sun Solaris, and even add-ons to NT and OS/2 for their POSIX support. The authors acknowledge that there may be variations in your version of Unix, but suggest that POSIX threads have good support from most vendors.

The authors then cover the basics of threads and how they run in today's Unix. The authors turn quickly to their implementation in variants of Unix, including Lightweight Processes (LWPs). They then cover the lifecycles of threads and how they are scheduled.

The primary focus in Multithreaded Programming with Pthreads is on how to make threads work together effectively. Multithreading involves a host of design issues, from patterns of how to organize threading in a program (with models such as the Producer/Consumer or the Master/Slave) to how to coordinate work done by multiple threads with facilities such as mutexes, critical sections, semaphores, and more arcane solutions (such as monitors and spin locks). The authors guide the reader to all the possibilities here, including suggestions on program design.

The real-world focus here involves some sample code (in C), a quick tour of the issues in using Pthreads with other programming languages, and some excellent material on benchmarking multithreaded code. The authors' ideas on when to use and when to avoid Pthreads are also useful. Though Pthreads will not work everywhere, they have a lot of potential to enhance the performance of today's software. This technical--and quite engaging--text can show you if Pthreads are in the cards for your next Unix programming project.

"About this title" may belong to another edition of this title.

Store Description

Thousands of used and out of print items in stock; Mail Order only. If you don't see what you are looking for, please ask,since the item may be available, but still not listed. Please send your Want Lists on any subject, title or author and they will be searched for promptly.

Visit Seller's Storefront

Terms of Sale:

All items are packed using recycled materials. Checks, cash and money orders are currently being accepted. For now, no Credit or debit cards are accepted, except through WWW.ABEBOOKS.COM. Items up to 2 pounds are shipped at the current US Media Mail or Flat Rate Priority Mail IN the USA. Orders OUTSIDE the US are sent at either Global Priority or International Air Mail rates. In that case PLEASE SPECIFY WHICH RATE YOUR PREFER. All items are subject to prior sale. Libraries and Institutions can b...

More Information
Shipping Terms:

Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.

List this Seller's Books

Payment Methods
accepted by seller

Visa Mastercard American Express

Check Money Order Cash Invoice Bank Draft Bank/Wire Transfer