Author: Maya Posch
Publisher: Packt Publishing
Publication year: 2017
E-ISBN: 9781787121898
P-ISBN(Paperback): 9781787121706
Subject: TP301.6 algorithm theory;TP31 computer software;TP312 程序语言、算法语言
Keyword: 计算机软件,算法理论,程序语言、算法语言
Language: ENG
Disclaimer: Any content in publications that violate the sovereignty, the constitution or regulations of the PRC is not accepted or approved by CNPIEC.
Mastering C++ Multithreading
Description
Master multithreading and concurrent processing with C++ About This Book • 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 Who This Book Is For This book is for intermediate C++ developers who wish to extend their knowledge of multithreading and concurrent processing. You should have basic experience with multithreading and be comfortable using C++ development toolchains on the command line. 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 • Understand the level of API support provided by various C++ toolchains • Resolve common issues in multithreaded code and recognize common pitfalls using tools such as Memcheck, CacheGrind, DRD, Helgrind, and more • Discover the nature of atomic operations and understand how they can be useful in optimizing code • Implement a multithreaded application in a distributed computing environment • Design a C++-based GPGPU application that employs multithreading In Detail Multithreaded applications execute multiple threads in a single processor environment, allowing developers achieve concurrency. Thi
Chapter