Skip to content

Pthreads Programming: A Posix Standard for Better Multiprocessing
Stock Photo: Cover May Be Different

Pthreads Programming: A Posix Standard for Better Multiprocessing Paperback - 1996 - 1st Edition

by Dick Buttlar; Jacqueline Farrell; Bradford Nichols

In this book, realistic examples show both the situations where threading is valuable and the ways to use threads to improve the modularity and efficiency of a program. The author takes the user behind the scenes to show them how threads work, where to expect problems, and what performance issues exist. Chapters on DCE, real-time, and multiprocessing are included.


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 rear 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.

Details

  • Title Pthreads Programming: A Posix Standard for Better Multiprocessing
  • Author Dick Buttlar; Jacqueline Farrell; Bradford Nichols
  • Binding Paperback
  • Edition number 1st
  • Edition 1
  • Pages 286
  • Volumes 1
  • Language ENG
  • Publisher O'Reilly Media, U.S.A.
  • Date 1996-10-08
  • ISBN 9781565921153 / 1565921151
  • Weight 0.85 lbs (0.39 kg)
  • Dimensions 9.1 x 7 x 0.6 in (23.11 x 17.78 x 1.52 cm)
  • Dewey Decimal Code 005.275

About the author

Dick Buttlar is a consulting writer in the UNIX Engineering Group at Digital Equipment Corporation, where he recently completed his stint as project leader for the Digital UNIX cluster documentation. He specializes in programming documentation -- both user-level and kernel -- and, in a former life, wrote the device driver documentation for the VMS operating system. A few years ago, he managed the initial planning of the corporate- wide documentation effort for Digital's Alpha processor. He's worked for Wang Laboratories, Recal/Redac, North American Technologies, and the American Trial Lawyers Association, among other places. He has a B.A. in English from Boston College and an M.A. in English from the University of Wisconsin at Madison.

Brad Nichols is a free-lance do-anything-computerish-for-a-buck kind of guy who works out of Milford, NH. He earned a Bachelor of Science degree in mechanical engineering from the University of New Hampshire in 1985 and a Master of Science degree from Worcester Polytechnic Institute (WPI) in 1991. He started his computer career working on very hard hardware (fuel pumps and valves). He worked his way up through the hardware layers into software on projects involving embedded avionics systems at Textron Lycomming and United Technologies Hamilton Standard Division. Brad left these jobs to learn more about AI at WPI, but instead caught the Mach fever, and was introduced to threads programming in UNIX. While at WPI he also worked on an OSF/1 performance project for the Open Software Foundation (OSF). After attending WPI, Brad taught training seminars to software developers on the Mach kernel interfaces. He then joined Digital Equipment Corporation to work on the port of the OSF's Distributed Computing Environment's Distributed File System (OSFDCEDFSDU for short) to Digital UNIX. Now, Brad is once again on his own and spends most of his time teaching software engineers about technologies with much shorter acronyms -- such as Pthreads.

Back to Top

More Copies for Sale

Pthreads Programming

Pthreads Programming

by Nichols, Bradford

  • Used
  • very good
  • Paperback
Condition
Used - Very Good
Binding
Paperback
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
GORING BY SEA, West Sussex, United Kingdom
Seller rating:
This seller has earned a 2 of 5 Stars rating from Biblio customers.
Item Price
$3.34
$10.92 shipping to USA

Show Details

Description:
Paperback. Very Good.
Item Price
$3.34
$10.92 shipping to USA
Pthreads Programming A POSIX Standard for Better Multiprocessing
Stock Photo: Cover May Be Different

Pthreads Programming A POSIX Standard for Better Multiprocessing

by Buttlar, Dick & Jacqueline Farrell & Bradford Nichols

  • Used
  • good
  • Paperback
Condition
Used - Good
Binding
Paperback
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
HOUSTON, Texas, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$4.75
$8.00 shipping to USA

Show Details

Description:
O'Reilly Media. Good. 1996. Paperback. 1565921151 . 7 X 0.59 X 9.19 inches; 286 pages .
Item Price
$4.75
$8.00 shipping to USA
PThreads Programming : A POSIX Standard for Better Multiprocessing

PThreads Programming : A POSIX Standard for Better Multiprocessing

by Jacqueline Farrell; Dick Buttlar; Bradford Nichols

  • Used
  • good
  • Paperback
Condition
Used - Good
Binding
Paperback
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
5
Seller
Seattle, Washington, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$6.53
FREE shipping to USA

Show Details

Description:
O'Reilly Media, Incorporated, 1996. Paperback. Good. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less.Dust jacket quality is not guaranteed.
Item Price
$6.53
FREE shipping to USA
PThreads Programming : A POSIX Standard for Better Multiprocessing
Stock Photo: Cover May Be Different

PThreads Programming : A POSIX Standard for Better Multiprocessing

by Nichols, Bradford, Buttlar, Dick, Farrell, Jacqueline

  • Used
Condition
Used - Very Good
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
Mishawaka, Indiana, United States
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
$7.06
FREE shipping to USA

Show Details

Description:
O'Reilly Media, Incorporated. Used - Very Good. Former library book; may include library markings. Used book that is in excellent condition. May show signs of wear or have minor defects.
Item Price
$7.06
FREE shipping to USA
PThreads Programming : A POSIX Standard for Better Multiprocessing
Stock Photo: Cover May Be Different

PThreads Programming : A POSIX Standard for Better Multiprocessing

by Nichols, Bradford, Buttlar, Dick, Farrell, Jacqueline

  • Used
Condition
Used - Good
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
Mishawaka, Indiana, United States
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
$7.74
FREE shipping to USA

Show Details

Description:
O'Reilly Media, Incorporated. Used - Good. Used book that is in clean, average condition without any missing pages.
Item Price
$7.74
FREE shipping to USA
Pthreads Programming: A POSIX Standard for Better Multiprocessing (O'Reilly Nutshell)
Stock Photo: Cover May Be Different

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

by Bradford Nichols; Dick Buttlar; Jacqueline Proulx Farrell

  • Used
  • Paperback
Condition
Used: Good
Binding
Paperback
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
HOUSTON, Texas, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$8.16
FREE shipping to USA

Show Details

Description:
O'Reilly Media, 1996-09-08. Paperback. Used: Good.
Item Price
$8.16
FREE shipping to USA
PThreads Programming: A POSIX Standard for Better Multiprocessing
Stock Photo: Cover May Be Different

PThreads Programming: A POSIX Standard for Better Multiprocessing

by Buttlar, Dick, Farrell, Jacqueline, Nichols, Bradford

  • Used
Condition
Used - Good
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
Frederick, Maryland, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$13.99
$3.99 shipping to USA

Show Details

Description:
O'Reilly Media. Used - Good. Good condition. A copy that has been read but remains intact. May contain markings such as bookplates, stamps, limited notes and highlighting, or a few light stains.
Item Price
$13.99
$3.99 shipping to USA
PThreads Programming: A POSIX Standard for Better Multiprocessing
Stock Photo: Cover May Be Different

PThreads Programming: A POSIX Standard for Better Multiprocessing

by Buttlar, Dick, Farrell, Jacqueline, Nichols, Bradford

  • Used
Condition
Used - Very Good
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
Frederick, Maryland, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$13.99
$3.99 shipping to USA

Show Details

Description:
O'Reilly Media. Used - Very Good. Very Good condition. A copy that may have a few cosmetic defects. May also contain a few markings such as an owner’s name, short gifter’s inscription or light stamp.
Item Price
$13.99
$3.99 shipping to USA
PThreads Programming: A POSIX Standard for Better Multiprocessing
Stock Photo: Cover May Be Different

PThreads Programming: A POSIX Standard for Better Multiprocessing

by Buttlar, Dick, Farrell, Jacqueline, Nichols, Bradford

  • Used
Condition
Used - Like New
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
1
Seller
Frederick, Maryland, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$13.99
$3.99 shipping to USA

Show Details

Description:
O'Reilly Media. Used - Like New. Like New condition. A near perfect copy that may have very minor cosmetic defects.
Item Price
$13.99
$3.99 shipping to USA
Pthreads Programming: A Posix Standard For Better Multiprocessing (A Nutshell Handbook)
Stock Photo: Cover May Be Different

Pthreads Programming: A Posix Standard For Better Multiprocessing (A Nutshell Handbook)

by Buttlar, Dick

  • New
Condition
New
ISBN 10 / ISBN 13
9781565921153 / 1565921151
Quantity Available
40
Seller
Benton Harbor, Michigan, United States
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
$26.10
$3.99 shipping to USA

Show Details

Description:
O'Reilly Media. New. BRAND NEW, GIFT QUALITY! NOT OVERSTOCKS OR MARKED UP REMAINDERS! DIRECT FROM THE PUBLISHER!
Item Price
$26.10
$3.99 shipping to USA