async: Start Policy

This lesson gives an overview of start policy used with std::async in C++ for multithreading.

We'll cover the following...

With the start policy you can explicitly specify whether the asynchronous call should be executed in the same thread (std::launch::deferred) or in another thread (std::launch::async).

Eager versus lazy evaluation

Eager and lazy evaluations are two orthogonal strategies to calculate the result of an expression. In the case ...