Book Image

Advanced Concepts of Multithreading with C++ [Video]

By : Maya Posch
Book Image

Advanced Concepts of Multithreading with C++ [Video]

By: Maya Posch

Overview of this book

<p><span id="description" class="sugar_field">Multithreaded applications execute multiple threads in a single processor environment, allowing developers achieve concurrency. This video will teach you debugging concurrent C++ applications and the best programming practices in C++. Also, you will learn about atomic operations before moving on to apply concurrency to distributed processing. The comprehensive coverage of essential multithreading concepts means you will be able to efficiently apply multithreading concepts while coding in C++.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">This course is filled with examples that will help you become a master at writing robust concurrent and parallel applications in C++.</span></span></p>
Table of Contents (4 chapters)
Free Chapter
1
Debugging Multithreaded Code
3
Atomic Operations – Working with the Hardware
4
Multithreading with Distributed Computing
Chapter 3
Atomic Operations – Working with the Hardware
Content Locked
Section 2
Memory Order
Memory barriers are not always used in the C++11 memory model for atomic operations. In the GCC built-in atomics API, this is reflected in the memorder parameter in its functions. - Use fetch_add - Use atomic_fetch_sub - Look at various types of memory ordering