Mastering C++ Multithreading
暫譯: 精通 C++ 多執行緒編程

Maya Posch

  • 出版商: Packt Publishing
  • 出版日期: 2017-07-28
  • 定價: $1,700
  • 售價: 9.0$1,530
  • 語言: 英文
  • 頁數: 244
  • 裝訂: Paperback
  • ISBN: 1787121704
  • ISBN-13: 9781787121706
  • 相關分類: C++ 程式語言
  • 立即出貨 (庫存=1)

商品描述

Key Features

  • Delve into the fundamentals of multithreading and concurrency and find out how to implement them
  • Explore atomic operations to optimize code performance
  • Apply concurrency to both distributed computing and GPGPU processing

Book Description

Multithreaded applications execute multiple threads in a single processor environment, allowing developers achieve concurrency. This book will teach you the finer points of multithreading and concurrency concepts and how to apply them efficiently in C++.

Divided into three modules, we start with a brief introduction to the fundamentals of multithreading and concurrency concepts. We then take an in-depth look at how these concepts work at the hardware-level as well as how both operating systems and frameworks use these low-level functions.

In the next module, you will learn about the native multithreading and concurrency support available in C++ since the 2011 revision, synchronization and communication between threads, debugging concurrent C++ applications, and the best programming practices in C++.

In the final module, you will learn about atomic operations before moving on to apply concurrency to distributed and GPGPU-based processing. The comprehensive coverage of essential multithreading concepts means you will be able to efficiently apply multithreading concepts while coding in C++.

What you will learn

  • Deep dive into the details of the how various operating systems currently implement multithreading
  • Choose the best multithreading APIs when designing a new application
  • Explore the use of mutexes, spin-locks, and other synchronization concepts and see how to safely pass data between threads

商品描述(中文翻譯)

**主要特點**
- 深入了解多執行緒和併發的基本原理,並學習如何實現它們
- 探索原子操作以優化程式碼性能
- 將併發應用於分散式計算和GPGPU處理

**書籍描述**
多執行緒應用程式在單一處理器環境中執行多個執行緒,讓開發者實現併發。本書將教您多執行緒和併發概念的細節,以及如何在C++中有效地應用這些概念。

本書分為三個模組,首先簡要介紹多執行緒和併發概念的基本原理。接著,我們將深入探討這些概念在硬體層面的運作,以及作業系統和框架如何使用這些低階功能。

在下一個模組中,您將學習自2011年修訂以來C++中原生的多執行緒和併發支援、執行緒之間的同步和通信、調試併發C++應用程式,以及C++中的最佳程式設計實踐。

在最後一個模組中,您將學習原子操作,然後將併發應用於分散式和基於GPGPU的處理。對於基本多執行緒概念的全面涵蓋,意味著您將能夠在C++編碼時有效地應用多執行緒概念。

**您將學到的內容**
- 深入了解各種作業系統目前如何實現多執行緒的細節
- 在設計新應用程式時選擇最佳的多執行緒API
- 探索使用互斥鎖、旋轉鎖和其他同步概念,並了解如何安全地在執行緒之間傳遞資料