- Consistent with the C++ async/future programming model.
- Drop-in replacement for 'async' for using the thread pool.
- Header only--no dependencies. Just copy the header to your project.
- Work Stealing, multi-queue
#include "wstpool.h"
wstpool::ThreadPool tp(8);
std::future<...> f = tp.async(...);
f.get();
Build instructions for example:
cd example/
cmake .
make