#include <ThreadPool.h>
|
| | ThreadPool (std::size_t numThreads=std::thread::hardware_concurrency()) |
| |
| template<typename T > |
| decltype(auto) | PostWork (T &&work) |
| |
| void | Join () |
| |
| void | Stop () |
| |
|
| boost::asio::thread_pool | _impl |
| |
Definition at line 27 of file ThreadPool.h.
◆ executor_type
◆ ThreadPool()
| Trinity::ThreadPool::ThreadPool |
( |
std::size_t |
numThreads = std::thread::hardware_concurrency() | ) |
|
|
inlineexplicit |
◆ Join()
| void Trinity::ThreadPool::Join |
( |
| ) |
|
|
inline |
◆ PostWork()
template<typename T >
| decltype(auto) Trinity::ThreadPool::PostWork |
( |
T && |
work | ) |
|
|
inline |
◆ Stop()
| void Trinity::ThreadPool::Stop |
( |
| ) |
|
|
inline |
◆ _impl
| boost::asio::thread_pool Trinity::ThreadPool::_impl |
|
private |
The documentation for this class was generated from the following file: