Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
$69.99$69.99
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$38.63$38.63
Ships from: Amazon Sold by: Strawberry Jellyfish
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
C++ Concurrency in Action: Practical Multithreading 1st Edition
Purchase options and add-ons
Summary
C++ Concurrency in Action is a reference and guide to the new C++ 11 Standard for experienced C++ programmers as well as those who have never written multithreaded code. This book will show you how to write robust multithreaded applications in C++ while avoiding many common pitfalls.
About the TechnologyMultiple processors with multiple cores are the norm these days. The C++11 version of the C++ language offers beefed-up support for multithreaded applications, and requires that you master the principles, techniques, and new language features of concurrency to stay ahead of the curve.
About the BookWithout assuming you have a background in the subject, CC++ Concurrency in Action gradually enables you to write robust and elegant multithreaded applications in C++11. You'll explore the threading memory model, the new multithreading support library, and basic thread launching and synchronization facilities. Along the way, you'll learn how to navigate the trickier bits of programming for concurrency.
Written for C++ programmers who are new to concurrency and others who may have written multithreaded code using other languages, APIs, or platforms.
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
What's Inside- Written for the new C++11 Standard
- Programming for multiple cores and processors
- Small examples for learning, big examples for practice
====================
Table of Contents- Hello, world of concurrency in C++!
- Managing threads
- Sharing data between threads
- Synchronizing concurrent operations
- The C++ memory model and operations on atomic types
- Designing lock-based concurrent data structures
- Designing lock-free concurrent data structures
- Designing concurrent code
- Advanced thread management
- Testing and debugging multithreaded applications
- ISBN-101933988770
- ISBN-13978-1933988771
- Edition1st
- PublisherManning Publications
- Publication dateFebruary 28, 2012
- LanguageEnglish
- Dimensions7.38 x 1.06 x 9.25 inches
- Print length528 pages
Frequently bought together

Customers who bought this item also bought
Editorial Reviews
About the Author
Anthony Williams is a UK-based developer and consultant with many years experience in C++. He has been an active member of the BSI C++ Standards Panel since 2001, and is author or coauthor of many of the C++ Standards Committee papers that led up to the inclusion of the thread library in the new C++ Standard, known as C++11 or C++0x. He has been the maintainer of the Boost Thread library since 2006, and is the developer of the just::thread implementation of the C++11 thread library from Just Software Solutions Ltd. Anthony lives in the far west of Cornwall, England.
Product details
- Publisher : Manning Publications; 1st edition (February 28, 2012)
- Language : English
- Paperback : 528 pages
- ISBN-10 : 1933988770
- ISBN-13 : 978-1933988771
- Item Weight : 1.95 pounds
- Dimensions : 7.38 x 1.06 x 9.25 inches
- Best Sellers Rank: #894,446 in Books (See Top 100 in Books)
- #61 in Parallel Computer Programming
- #153 in C Programming Language
- #252 in C++ Programming Language
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read author blogs and more
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the writing quality very technical and well written. They also say the book contains a lot of information about C++ concurrency. Opinions are mixed on the content, with some finding it acceptable and helpful, while others say it's not too helpful.
AI-generated from the text of customer reviews
Customers find the book very technical, well written, and easy to follow. They also say it's similar to an average technical book on the subject and provides awesome description and practical advice.
"This book is very well crafted. However, I would suggest to buy the updated version." Read more
"...Overall this is a useful reference book. I haven't found another book on the subject to compare it to. For the time being I give it 4 stars." Read more
"...The real reason for that I think is the examples are very clearly explained in the book and the framework used in the book seem to be very adaptable..." Read more
"This book gives detailed explanations of the library API and related concepts...." Read more
Customers are mixed about the content. Some mention it contains a lot of information, while others say it's not too helpful, has a rambling style that doesn't engage the reader, and has a hard time getting to its point.
"...It is acceptable in that it does contain a *lot* of information, and the author clearly knows what he's talking about...." Read more
"...but again, it makes the index less useful (it's like having "the" in front of everything)...." Read more
"...this book holds a lot of valuable information on C++11 and the threading capabilities that come with it..." Read more
"Not too helpful..." Read more
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Here are the things I liked most about this book: 1) it thoroughly uses C++11 features, including std::move, etc. 2) it's comphrehensive coverage of threading; and 3) it includes code and design discussion for a complete thread pool.
In my opinion there are only a few shortcomings: 1) The discussions of packaged_task, promise, spinlock, and fences/barries wasn't elaborate enough to help me really learn when/where to use these tools. Futures and async were covered thoroughly, but not these other topics. There was comment about spinlock unblocking the current thread that I didn't understand.
2) There are many places where the author/editor could have tied more narrative to the bullets in the code. That's a nifty feature of this book series, and it worked very well in this book, except that in some places it should have been done more. A couple of tricky lines of code had no comment, e.g. how the handle() function works in the message passing example. The chaining syntax is unusual and needs more explanation.
3) spinlock, and a few other topics, are not in the index.
4) It would be very helpful to see a brief example program that would report the relative performance of an analogous data structure class from the lock-based chapter vs. the lock-free chapter. This would give the reader a glimpse as to when the added complexity pays off.
I will keep this book for a long time :-)
This book is a mixture of "tutorial" and "reference" manual as in:
The author sometimes introduces items before they are explained so you may have to skip around a bit to work through the discussions.
This is NOT a book to learn about C++11.
You will have to navigate a fair number of those new C++11 features in this book. This can be distracting but probably should be expected since this is part of the whole C++11 package.
Overall this is a useful reference book. I haven't found another book on the subject to compare it to. For the time being I give it 4 stars.
That said, it doesn't qualify the book as best automatically. The real reason for that I think is the examples are very clearly explained in the book and the framework used in the book seem to be very adaptable to your real-world project easily. In that sense, it is really a practical multithreading programming book.
One caveat though: This book would not teach C++ programming and not even C++11 even if you have some fine grasp of C++. I recommend you get hold of The C++ Programming Language (B. Stroustrup, 4th Edition) or C++ Primer (S. Lippman etc., 5th Edition). The book itself may need some clarification in some place, for example, it should really talk about using -lpthread for linking since it discusses various compilers for C++11 anyway. However, given the aforementioned need of a C++11 text to accompany it, I would still rank this book a 5-star as those minor problems could be figured out easily given books above or you can easily find answers from stackoverflow.com etc.
I had worked with pThreads several times over the last few years, only got though the first 1/3 of the book, but I can already tell you it was worth the investment if you are planning on doing any work with threads in C++. Thumbing though into later chapters it looks like a lot more useful stuff using more complex semaphores and threads.
From my review of the first 1/3rd, I'd say it's a definite keeper.
Top reviews from other countries
1.hello world の並列化
2.スレッド管理
3.スレッド間でのデータ共有
4.並列化操作での同期
5.C++メモリモデルとatomicデータタイプの操作
6.並列化データ構造をロックベースでデザイン
7.並列化データ構造をロックフリーでデザイン
8.並列化
10.マルチスレッドアプリケーションのテストとデバッグ
本書に関しては、既に第二版の出版がまもなくとのことですから(2017年9月現在)、購入はそれまで待ったほうがよいかもしれません。また日本語での出版の予定は残念ながら無いようです。
Molto ma molto consigliato ad un pubblico di programmatori C++.
Was mich besonders angesprochen hat, ist die zur Printausgabe kostenlose PDF-Version. Ich lese lieber in einem Buch, aber da fehlt mir die elektronische Suchfunktion, wenn ich später mal was nachschlagen will. Durch die PDF-Version des Buches ist das Problem gelöst. Diese Strategie von Manning-Books finde ich sehr lobenswert! (Selbstredend gebietet es dann auch der Anstand die PDF-Version nicht zu verteilen!)








