Learn Multithreading with Modern C++

Learn Multithreading with Modern C++

by James Raynard
Learn Multithreading with Modern C++

Learn Multithreading with Modern C++

by James Raynard

eBook

$8.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers

LEND ME® See Details

Overview

Multithreading is used in many areas of computing, including graphics processing, machine learning and Internet stores. An understanding of threads is essential to make full use of the capabilities of modern hardware.

 

C++ now provides direct support for threads, making it possible to write portable multithreaded programs which have well-defined behaviour, without requiring any external libraries.

 

This book thoroughly covers the basics of threading and will prepare you for more advanced work with threads. Source code is available for all the examples. No previous knowledge of threading is required, but you should be comfortable with programming in C++ at an intermediate level.

 

The book begins with the concepts of multithreading, then shows how to launch threads in C++. We look at the problems which can occur with multiple threads and how to avoid them.

 

C++ provides tools which allow us to work at a higher level of abstraction than system threads which share data; we cover condition variables and promises with futures. We also look at asynchronous, lock-free and parallel programming, including atomic variables and the parallel algorithms in C++17. We end by implementing a concurrent queue and thread pool, which brings together the material you have learnt.


Product Details

BN ID: 2940166526007
Publisher: James Raynard
Publication date: 07/29/2022
Sold by: Draft2Digital
Format: eBook
File size: 2 MB
From the B&N Reads Blog

Customer Reviews