Multithreaded Summation: Using fetch_add Method

This lesson explains the solution for calculating the sum of a vector problem using the fetch_add method in C++.

We'll cover the following...

The modification of the source code is minimal. I have only changed the summation expression to sum.fetch_add(val[it]).