Introduction to Tasks

This lesson gives an introduction to tasks which consist of promises and futures, and are an important part of multithreading in C++.

We'll cover the following...

In addition to threads, C++ has tasks to perform work asynchronously. These tasks need the <future> header, and they will be parameterized with a work package. Additionally, they consist of two associated components: a promise and a future; Both are connected via a data channel. ...