C++ Concurrency in Action: Practical Multithreading 14353

Паперова книга
14353
C++ Concurrency in Action: Practical Multithreading - фото 1
12.04
780
4 людини

Все про “C++ Concurrency in Action: Practical Multithreading”

Від видавця

Смотреть книгу на русском языке

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

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

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

Зміст

Chapter 1 Hello, world of concurrency in C++!
What is concurrency?
Why use concurrency?
Concurrency and multithreading in C++
Getting started
Summary
Chapter 2 Managing threads
Basic thread management
Passing arguments to a thread function
Transferring ownership of a thread
Choosing the number of threads at runtime
Identifying threads
Summary
Chapter 3 Sharing data between threads
Problems with sharing data between threads
Protecting shared data with mutexes
Alternative facilities for protecting shared data
Summary
Chapter 4 Synchronizing concurrent operations
Waiting for an event or other condition
Waiting for one-off events with futures
Waiting with a time limit
Using synchronization of operations to simplify code
Summary
Chapter 5 The C++ memory model and operations on atomic types
Memory model basics
Atomic operations and types in C++
Synchronizing operations and enforcing ordering
Summary
Chapter 6 Designing lock-based concurrent data structures
What does it mean to design for concurrency?
Lock-based concurrent data structures
Designing more complex lock-based data structures
Summary
Chapter 7 Designing lock-free concurrent data structures
Definitions and consequences
Examples of lock-free data structures
Guidelines for writing lock-free data structures
Summary
Chapter 8 Designing concurrent code
Techniques for dividing work between threads
Factors affecting the performance of concurrent code
Designing data structures for multithreaded performance
Additional considerations when designing for concurrency
Designing concurrent code in practice
Summary
Chapter 9 Advanced thread management
Thread pools
Interrupting threads
Summary
Chapter 10 Testing and debugging multithreaded applications
Types of concurrency-related bugs
Techniques for locating concurrency-related bugs
Summary

appendix A Brief reference for some C++11 language features
appendix B Brief comparison of concurrency libraries
appendix C A message-passing framework and complete ATM example
appendix D C++ Thread Library reference

Рецензії

0

Всі характеристики

  • Видавництво
  • Автор
  • Категорія
  • Номер видання
    1-е вид.
  • Рік
    2012
  • Сторінок
    528
  • Формат
    170х240 мм
  • Обкладинка
    М'яка
  • Тип паперу
    Офсетний
  • Мова
    Англійська
  • Ілюстрації
    Чорно-білі

Товар входить до категорії

  • Самовивіз з відділень поштових операторів від 45 ₴ - 80 ₴
  • Доставка поштовими сервісами - тарифи перевізника
Схожі товари
Design Patterns in Modern C++20. 2nd Ed.
244677
Dmitri Nesteruk
1'400 ₴
С++20 в деталях. Цветное издание
206689
Райнер Гримм
1'640 ₴
Pointers in C Programming. A Modern Approach to Memory Management, Recursive Data Structures, Strings, and Arrays
153653
Thomas Mailund
1'700 ₴
Beginning C++23: From Beginner to Pro 7th ed. Edition
259110
Ivor HortonPeter Van Weert
1'700 ₴
Pro Cryptography and Cryptanalysis with C++20. Creating and Programming Advanced Algorithms. 1st Ed.
244719
Marius I.Mihailescu, Stefania Loredana N.
2'000 ₴
Learning OpenCV 3: Computer Vision in C++ with the OpenCV Library 1st Edition
114529
Adrian KaehlerGary Bradski
2'300 ₴
Beginning C: From Beginner to Pro 7th ed. Edition
270251
Ivor HortonGerman Gonzalez-Morris
2'400 ₴