#include <ThreadPool.hpp>
Public Member Functions | |
| ThreadPool () | |
| ~ThreadPool () | |
| ThreadPool (const ThreadPool &)=delete | |
| ThreadPool & | operator= (const ThreadPool &)=delete |
| void | start (size_t threadCount=1) |
| void | post (std::function< void()> task) |
| void | shutdown () |
| bool | isStarted () const |
|
explicit |
| ThreadPool::~ThreadPool | ( | ) |
|
delete |
|
delete |
| void ThreadPool::start | ( | size_t | threadCount = 1 | ) |
| void ThreadPool::post | ( | std::function< void()> | task | ) |
| void ThreadPool::shutdown | ( | ) |
| bool ThreadPool::isStarted | ( | ) | const |