4 ms·
I would recommend using std::async instead of std::thread directly as it leaves it up to the STL implementation to manage a thread pool. http://en.cppreference
by jarjoura 12y ago
I would recommend using std::async instead of std::thread directly as it leaves it up to the STL implementation to manage a thread pool.
http://en.cppreference.com/w/cpp/thread/async http://en.cppreference.com/w/cpp/thread/async