simple threadpool, class uses also current thread! More...
#include <thread_pool.hpp>
Public Member Functions | |
| thread_pool (std::size_t size) | |
| constructor | |
| template<typename Functor > | |
| void | post (Functor f) |
| post new task | |
| void | run () |
| run all posted tasks (blocking) | |
simple threadpool, class uses also current thread!
Definition at line 25 of file thread_pool.hpp.
1.8.5