Book Image

High Performance Applications with C++ [Video]

By : Jeganathan Swaminathan
Book Image

High Performance Applications with C++ [Video]

By: Jeganathan Swaminathan

Overview of this book

<p>C++ has come a long way and has now been adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications. The C++ 17 release will change the way developers write code, and this video course will help you master your developing skills with C++. With real-world, practical examples explaining each concept, the course will begin by introducing you to the latest features in C++ 17. It encourages clean code practices in C++ in general and demonstrates the GUI app-development options in C++.</p> <p>By the end of the course, you’ll have an in-depth understanding of the language and its various facets.</p> <h1>Style and Approach</h1> <p>This straightforward guide will help you level up your skills in C++ programming, be it for enterprise software or for low-latency applications like games. Filled with real-world, practical examples, this video course will take you gradually up the steep learning curve that is C++.</p>
Table of Contents (7 chapters)
Chapter 3
Concurrency in C++
Content Locked
Section 2
Concurrency Tasks
The concurrency support module supports a concept called task. A task is work that happens concurrently across threads. A concurrent task can be created using The packaged_task class. The packaged_task class conveniently connects the thread function, the corresponding promise, and feature objects. Let's understand the use of packaged_task with a simple example. - Understand how to use a concurrent task with the thread support library - Understand the exception concurrency handling mechanism with a simple example