Learn Multithreading with Modern C++ Learn Multithreading with Modern C++

Learn Multithreading with Modern C+‪+‬

    • $8.99
    • $8.99

Publisher Description

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.

GENRE
Computers & Internet
RELEASED
2022
July 29
LANGUAGE
EN
English
LENGTH
174
Pages
PUBLISHER
James Raynard
SELLER
Draft2Digital, LLC
SIZE
2.4
MB

More Books Like This

Programming with POSIX Threads Programming with POSIX Threads
1993
C++ Concurrency in Action C++ Concurrency in Action
2019
Java Threads Java Threads
2004
Mastering C++ Multithreading Mastering C++ Multithreading
2017
Learn Concurrency in Python Learn Concurrency in Python
2020
Rust Atomics and Locks Rust Atomics and Locks
2022

More Books by James Raynard