![]() |
AmpGen 2.1
|
Definition at line 48 of file ThreadPool.h.
Public Member Functions | |
| ThreadPool (const size_t &nt) | |
| ~ThreadPool () | |
| template<typename F, typename... Args> | |
| auto | enqueue (F &&f, Args &&...args) -> std::future< typename std::invoke_result_t< F, Args... > > |
| void | waitForStoppedThreads () |
|
explicit |
| AmpGen::ThreadPool::~ThreadPool | ( | ) |
| auto AmpGen::ThreadPool::enqueue | ( | F && | f, |
| Args &&... | args ) -> std::future< typename std::invoke_result_t< F, Args... > > |
Definition at line 64 of file ThreadPool.h.
| void AmpGen::ThreadPool::waitForStoppedThreads | ( | ) |