MeVisLab Toolbox Reference
|
A thread pool executing an asio::Context's run method with a bunch of threads. More...
#include <ThreadPool.h>
Public Member Functions | |
ThreadPool (std::shared_ptr< Context > context, const unsigned short num_threads) | |
~ThreadPool () | |
ThreadPool (const ThreadPool &)=delete | |
ThreadPool & | operator= (const ThreadPool &)=delete |
A thread pool executing an asio::Context's run method with a bunch of threads.
Synopsis:
Definition at line 28 of file ThreadPool.h.
asio::ThreadPool::ThreadPool | ( | std::shared_ptr< Context > | context, |
const unsigned short | num_threads ) |
asio::ThreadPool::~ThreadPool | ( | ) |
|
delete |
|
delete |