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

tutorial1