Concurrency in Modern C++ - Cumulative sum of a vector using N threads

tutorial2