0%

Book Description

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, C++ 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.

what's inside

  • Written for the new C++11 Standard
  • Programming for multiple cores and processors
  • Small examples for learning, big examples for practice

about the reader

Written for C++ programmers who are new to concurrency and others who may have written multithreaded code using other languages, APIs, or platforms.

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 s nce 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.

Table of Contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Preface
  5. Acknowledgments
  6. About This Book
  7. About the Cover Illustration
  8. Chapter 1. Hello, world of concurrency in C++!
  9. Chapter 2. Managing threads
  10. Chapter 3. Sharing data between threads
  11. Chapter 4. Synchronizing concurrent operations
  12. Chapter 5. The C++ memory model and operations on atomic types
  13. Chapter 6. Designing lock-based concurrent data structures
  14. Chapter 7. Designing lock-free concurrent data structures
  15. Chapter 8. Designing concurrent code
  16. Chapter 9. Advanced thread management
  17. Chapter 10. Testing and debugging multithreaded applications
  18. Appendix A. Brief reference for some C++11 language features
  19. Appendix B. Brief comparison of concurrency libraries
  20. Appendix C. A message-passing framework and complete ATM example
  21. Appendix D. C++ Thread Library reference
  22. Resources
  23. Index
  24. List of Figures
  25. List of Tables
  26. List of Listings
18.188.151.107