Skip to content

Pthreads Programming A Posix Standard for Better Multiprocessing

Spend $50 to get a free DVD!

ISBN-10: 1565921151

ISBN-13: 9781565921153

Edition: 1996 (Reprint)

Authors: Bradford Nichols, Dick Buttlar, Jacqueline Proulx Farrell, Andy Oram

List price: $39.99
Blue ribbon 30 day, 100% satisfaction guarantee!
Rent eBooks
Buy eBooks
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

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…    
Customers also bought

Book details

List price: $39.99
Copyright year: 1996
Publisher: O'Reilly Media, Incorporated
Publication date: 9/11/1996
Binding: Paperback
Pages: 286
Size: 7.50" wide x 9.00" long x 0.50" tall
Weight: 0.990
Language: English

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…    

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…    

Preface
Why Threads?
What Are Pthreads?
Potential Parallelism
Specifying Potential Parallelism in a Concurrent Programming Environment
Parallel vs. Concurrent Programming
Synchronization
Who Am I? Who Are You?
Terminating Thread Execution
Why Use Threads Over Processes?
A Structured Programming Environment
Choosing Which Applications to Thread
Designing Threaded Programs
Suitable Tasks for Threading
Models
Buffering Data Between Threads
Some Common Problems
Performance
Example: An ATM Server
Example: A Matrix Multiplication Program
Synchronizing Pthreads
Selecting the Right Synchronization Tool
Mutex Variables
Condition Variables
Reader/Writer Locks
Synchronization in the ATM Server
Thread Pools
Managing Pthreads
Setting Thread Attributes
The pthread_once Mechanism
Keys: Using Thread-Specific Data
Cancellation
Scheduling Pthreads Mutex Scheduling Attributes
Pthreads and UNIX Threads and Signals
Threadsafe Library Functions and System Calls
Cancellation-Safe Library Functions and System Calls
Thread-Blocking Library Functions and System Calls
Threads and Process Management
Multiprocessor Memory Synchronization
Practical Considerations
Understanding Pthreads Implementation
Debugging
Performance
Conclusion
Pthreads and DCE
Pthreads Draft 4 vs. the Final Standard
Pthreads Quick
Reference
Index