![]() |
TrinityCore
|
#include <ThreadPool.h>
Public Member Functions | |
| ThreadPool (std::size_t numThreads=std::thread::hardware_concurrency()) | |
| template<typename T > | |
| decltype(auto) | PostWork (T &&work) |
| void | Join () |
Private Attributes | |
| boost::asio::thread_pool | _impl |
Definition at line 27 of file ThreadPool.h.
|
inlineexplicit |
Definition at line 30 of file ThreadPool.h.
|
inline |
Definition at line 38 of file ThreadPool.h.
References _impl.
Referenced by ObjectMgr::InitializeQueriesData().
|
inline |
Definition at line 33 of file ThreadPool.h.
References _impl.
Referenced by ObjectMgr::InitializeQueriesData().
|
private |
Definition at line 44 of file ThreadPool.h.
Referenced by Join(), and PostWork().