I am writing a multithreaded code where a bunch of std::async calls spawn a fixed number of threads for the duration of the entire program. Each thread works of
std::async