|
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 29 of file ThreadPool.h.
| asio::ThreadPool::ThreadPool | ( | std::shared_ptr< Context > | context, |
| const unsigned short | num_threads ) |
Referenced by operator=(), and ThreadPool().
| asio::ThreadPool::~ThreadPool | ( | ) |
|
delete |
References ThreadPool().
|
delete |
References ThreadPool().