Buy new:
$69.99
FREE delivery Wednesday, August 21
Ships from: Amazon.com
Sold by: Amazon.com
$69.99
FREE Returns
FREE delivery Wednesday, August 21. Order within 12 hrs 5 mins
Only 1 left in stock - order soon.
$$69.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$69.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$38.82
FREE Returns
Used books may not include companion materials, some shelf wear may contain highlighting/notes, and may not include CD-ROM or access codes. 100% Satisfactory Guaranteed! Ship from Amazon directly. Used books may not include companion materials, some shelf wear may contain highlighting/notes, and may not include CD-ROM or access codes. 100% Satisfactory Guaranteed! Ship from Amazon directly. See less
FREE delivery August 29 - September 5
Or fastest delivery August 28 - September 4
Only 1 left in stock - order soon.
$$69.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$69.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

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.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

C++ Concurrency in Action: Practical Multithreading 1st Edition

4.5 4.5 out of 5 stars 115 ratings

There is a newer edition of this item:

{"desktop_buybox_group_1":[{"displayPrice":"$69.99","priceAmount":69.99,"currencySymbol":"$","integerValue":"69","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"4dD0pPLpEjM3AJSW1NokBQ3AXnYp20VNIoI%2BLfBcZLgGKFZqqBfOVuB6TpPYziI62PAq3TWQ3rf%2B9r3J6oweirNSXq%2BhEBtlyYYqBcKLhmqKFxL5GLW3nGLrfcAzjrYY0m5Px4CvgrY%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$38.82","priceAmount":38.82,"currencySymbol":"$","integerValue":"38","decimalSeparator":".","fractionalValue":"82","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"4dD0pPLpEjM3AJSW1NokBQ3AXnYp20VN8%2FEDqo7VzIzhwB6BZWNQeGzcMM6U18G71L0hF%2BwKB4A5kP9lrvd4XcqcoyWTL5LjH1qVxHC1yTZwMChpz3qhD%2BHXdhqTnX4hFRNVNtHS75PAv8CnJE0NdtdAbp4S8EVlAPOgehrXVHZiYjN81eVsNa0L9YsWcO1K","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

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 Technology

Multiple 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 Book

Without 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
  1. Hello, world of concurrency in C++!
  2. Managing threads
  3. Sharing data between threads
  4. Synchronizing concurrent operations
  5. The C++ memory model and operations on atomic types
  6. Designing lock-based concurrent data structures
  7. Designing lock-free concurrent data structures
  8. Designing concurrent code
  9. Advanced thread management
  10. Testing and debugging multithreaded applications

Your Company Bookshelf
Save time and resources when buying books in bulk Learn more

Frequently bought together

This item: C++ Concurrency in Action: Practical Multithreading
$69.99
Get it as soon as Wednesday, Aug 21
Only 1 left in stock - order soon.
Ships from and sold by Amazon.com.
+
$40.99
Get it as soon as Wednesday, Aug 21
In Stock
Ships from and sold by Amazon.com.
+
$50.37
Get it as soon as Thursday, Aug 22
In Stock
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Some of these items ship sooner than the others.
Choose items to buy together.

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
  • Customer Reviews:
    4.5 4.5 out of 5 stars 115 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
(Software engineer) Anthony Williams
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read author blogs and more

Customer reviews

4.5 out of 5 stars
115 global ratings

Customers 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

Select to learn more
20 customers mention "Writing quality"18 positive2 negative

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

6 customers mention "Content"3 positive3 negative

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 from the United States

Reviewed in the United States on May 20, 2012
I just finished reading this book--twice! The second half requires careful study to get the most out of it. This is really an OUTSTANDING piece of work. The writing is clear and all the code examples are precisely to the point. Virtually zero fluff in this entire book. You can only imagine how much work he put into designing and debugging the programs so that they are so clean. Well, I didn't notice any bugs in the code, but I didn't try to run them yet and his narrative shows that his attention to detail goes way beyond a quick code review.
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 :-)
26 people found this helpful
Report
Reviewed in the United States on September 13, 2023
This book is very well crafted. However, I would suggest to buy the updated version.
One person found this helpful
Report
Reviewed in the United States on February 2, 2015
This is a useful book for me because this is the first book I found on the new C++ Threads that came in the new C++ standard.
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.
6 people found this helpful
Report
Reviewed in the United States on April 15, 2014
There are quite a lot of books covering C++ multithreading programming books which ranges from posix thread programming to Win32 programming. However, there are few books that cover the concurrency and thread programming as in C++11 standard. In addition, the author himself is a contributor to this part of C++11 standard.

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.
9 people found this helpful
Report
Reviewed in the United States on September 1, 2012
As of Aug 2012 when I wrote this, most c++ compilers do not support threads including the GNU C++11 compiler 4.7. I finally got it to work but compiled with both the pthreads library and installed boost libs, probably only one of those was needed, I don't know which as I was too lazy to figure it out. Seems to be a little cheating going on with the compiler as C++11 threads are invoked differently than either of these, I'm guess that this compiler just uses a wrapper around whichever of those components are needed.

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.
4 people found this helpful
Report

Top reviews from other countries

Translate all reviews to English
Cliente Amazon
3.0 out of 5 stars técnico
Reviewed in Spain on September 20, 2020
Muy denso y poco pedagógico algunas veces.
mike
5.0 out of 5 stars まさに欲しかった内容
Reviewed in Japan on September 22, 2017
C++&マルチスレディングを総合的に扱った貴重な本です。筆者はC++標準委員会に所属し、BoostやC++11のマルチスレディング関連の言語仕様、ライブラリ充足にかかわっている当事者の一人でもあります。内容は、以下の10章からなり、約500ページと結構な分量です。
1.hello world の並列化
2.スレッド管理
3.スレッド間でのデータ共有
4.並列化操作での同期
5.C++メモリモデルとatomicデータタイプの操作
6.並列化データ構造をロックベースでデザイン
7.並列化データ構造をロックフリーでデザイン
8.並列化
10.マルチスレッドアプリケーションのテストとデバッグ

本書に関しては、既に第二版の出版がまもなくとのことですから(2017年9月現在)、購入はそれまで待ったほうがよいかもしれません。また日本語での出版の予定は残念ながら無いようです。
One person found this helpful
Report
VincentZ
5.0 out of 5 stars Very good book on C++11 multithreading
Reviewed in Canada on April 19, 2016
Very good book on C++11 multithreading. It is both highlevel and pedagogic (mutex, condition variables, ...) and also goes into the gritty details of the different memory models for atomic variables. Also, it contains many sample of lock-based and lock-free containers.
One person found this helpful
Report
Antonio Co
5.0 out of 5 stars Facciamo le cose multi thread
Reviewed in Italy on April 16, 2016
Per chi è esperto di C++ ed ha iniziato ad imparare le nuove features di C++11, questo libro di guiderà nello sviluppo di applicazioni multi thread e real time. Il libro è in inglese, molto tecnico e con tanti esempi ben fatti. Questo è il modo migliori per imparare un argomento molto complicato quale la programmazione concorrente è.
Molto ma molto consigliato ad un pubblico di programmatori C++.
One person found this helpful
Report
Juergen Busch
5.0 out of 5 stars Empfehlenswert
Reviewed in Germany on February 5, 2016
Obwohl selbst "ein alter C++-Hase" habe ich auch nebenbei das eine oder andere gelernt. Hauptsächlich gibt das Buch eine sehr leicht verständliche Einführung in Concurrency mit C++11+ in verständlichen Beispielen, die durchaus als Muster taugen.

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!)
3 people found this helpful
Report