Public Member Functions | |
ThreadPool (int numThreads) | |
int | getNumThreads () const |
void | setMinWorkSize (size_t size) |
size_t | getMinWorkSize () const |
void | run (const std::function< void(int, size_t)> &fn, size_t range) |
void | withPool (const std::function< void(WorkersPool *)> &fn) |
Static Public Member Functions | |
static std::unique_ptr< ThreadPool > | defaultThreadPool () |
Definition at line 32 of file ThreadPool.h.