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

Learn Multithreading with Modern C+‪+‬

    • ‏8٫99 US$
    • ‏8٫99 US$

وصف الناشر

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.

النوع
كمبيوتر وإنترنت
تاريخ النشر
٢٠٢٢
٢٩ يوليو
اللغة
EN
الإنجليزية
عدد الصفحات
١٧٤
الناشر
James Raynard
البائع
Draft2Digital, LLC
الحجم
٢٫٤
‫م.ب.‬
Programming with POSIX Threads Programming with POSIX Threads
١٩٩٣
C++ Concurrency in Action C++ Concurrency in Action
٢٠١٩
Java Threads Java Threads
٢٠٠٤
Mastering C++ Multithreading Mastering C++ Multithreading
٢٠١٧
Shared Memory Application Programming Shared Memory Application Programming
٢٠١٥
Java Concurrency in Practice Java Concurrency in Practice
٢٠٠٦