#include <threadpool.h>
|
| ThreadPool (size_t) |
|
template<class F, class... Args> |
auto | enqueue (F &&f, Args &&... args) -> std::future< typename std::invoke_result_t< F, Args... > > |
|
void | resize (size_t) |
|
| ~ThreadPool () |
|
◆ ThreadPool()
ThreadPool::ThreadPool |
( |
size_t | threads | ) |
|
|
inline |
◆ ~ThreadPool()
ThreadPool::~ThreadPool |
( |
| ) |
|
|
inline |
◆ enqueue()
template<class F, class... Args>
auto ThreadPool::enqueue |
( |
F && | f, |
|
|
Args &&... | args ) -> std::future<typename std::invoke_result_t<F, Args...>> |
◆ resize()
void ThreadPool::resize |
( |
size_t | threads | ) |
|
|
inline |
The documentation for this class was generated from the following file: