Visual Studio Code – Varying results using multiple threads
I'm trying to optimize the running time of my C++ code by utilizing multiple threads. I have tried a few different solutions. I have this code using boost: #include <iostream> #include <vector> #include <chrono> #include <atomic> #include <thread> #include <boost/asio.hpp>…