#include <ThreadPool.h>
|
| ThreadPool ()=default |
|
| ~ThreadPool () |
|
void | initialize (std::size_t) |
|
void | add_thread (std::function< void()> initializer) |
|
template<class F , class... Args> |
auto | add_task (F &&f, Args &&... args) -> std::future< typename std::result_of< F(Args...)>::type > |
|
◆ ThreadPool()
Utils::ThreadPool::ThreadPool |
( |
| ) |
|
|
default |
◆ ~ThreadPool()
Utils::ThreadPool::~ThreadPool |
( |
| ) |
|
|
inline |
◆ add_task()
template<class F , class... Args>
auto Utils::ThreadPool::add_task |
( |
F && |
f, |
|
|
Args &&... |
args |
|
) |
| -> std::future<typename std::result_of<F(Args...)>::type> |
◆ add_thread()
void Utils::ThreadPool::add_thread |
( |
std::function< void()> |
initializer | ) |
|
|
inline |
◆ initialize()
void Utils::ThreadPool::initialize |
( |
std::size_t |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: