progschj / ThreadPool

A simple C++11 Thread Pool implementation
zlib License
7.64k stars 2.21k forks source link

crash issue #63

Open aorandexiaohai opened 5 years ago

aorandexiaohai commented 5 years ago

I have many locations to wait the result, so thousand futures are created, but the program throw an exception about the future creations.

The reason may be the inner std::async use the std::launch::async mode.