ACCU Home page ACCU Conference Page
Search Contact us ACCU at Flickr ACCU at GitHib ACCU at Google+ ACCU at Facebook ACCU at Linked-in ACCU at Twitter Skip Navigation

Search in Book Reviews

The ACCU passes on review copies of computer books to its members for them to review. The result is a large, high quality collection of book reviews by programmers, for programmers. Currently there are 1918 reviews in the database and more every month.
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
    View all alphabetically
Title:
Programming with POSIX Threads
Author:
David R Butenhof
ISBN:
0 201 63392 2
Publisher:
Addison-Wesley
Pages:
380pp
Price:
£24.95
Reviewer:
Tom Hughes
Subject:
advanced c
Appeared in:
12-2
This book aims both to act both as a tutorial in threaded programming and as a reference for the POSIX 1003.1c-1995 standard interface for threading implementations - a standard which is more commonly known as pthreads.

The book begins with an overview of the basic concepts behind asynchronous and threaded programming and then moves on to discuss the guts of pthreads, first in a chapter on creating and running threads, and then in a chapter on the various methods of synchronising threads that pthreads provides.

There is then a brief interlude from discussion of the pthreads interface to concentrate on various patterns for threaded programs before returning to discuss the more advanced portions of the pthreads interface and how pthreads interacts with other POSIX standards.

The book then moves on to a look at the problems of integrating threaded code with library code that may or may not be thread safe and provides some suggestions on approaches for debugging threaded code which is often a significantly more difficult task than debugging unthreaded code.

The final section of the book is a reference to the pthreads interface listing all the functions along with their prototypes and brief descriptions.

Overall this is a well written book that well meets it's twin objectives and provides an excellent introduction to threaded programming for anyone who is a competent C programmer in the non- threaded world.