Book Review "C++ Concurrency In Action"
by Anthony Williams, published by Manning
This is a book for intermediate to advanced C++ system and application developers who wish to write scalable parallel C++ code to take advantage of today's multiprocessing computers with enhanced and powerful multi-threading support. Through well articulated chapters, readers are gradually introduced into the colorful landscape of C++ concurrency programming using threads. The book focuses on the concerns about data safety and potential performance improvement in multi-threading environment. The book went through the most difficult threading concepts and models with the latest compiler updates and libraries. The examples are sophisticated but well thought through with plenty of detail.
The author has a deep knowledge of C++ concurrency programming. The threading model and concept are based on the latest/upcoming C++ standards which have the benefit of code portability (platform independent) and stability. The book starts with outline of parallel processing advantages and pitfalls, with acknowledge of data safety, techniques to prevent race condition and deadlock. Then goes into the detail of the techniques using thread lock, mutex and condition variables, as well as tricks with the new thread aware C++ memory model for memory initialization and management, atomic operation API to build lock-free data structures.
A very useful reference book for any C++ programmers.
2008-12-10 21:38:32 GMT