Threads vs Tasks

This lesson highlights the differences between threads and tasks used in C++ for multithreading.

Threads are very different from tasks. Let’s see how by looking at this piece of code first:

Get hands-on with 1400+ tech skills courses.