CatapultServer  v0.5.0.1 (Elephant)
IoThreadPool.cpp File Reference
Include dependency graph for IoThreadPool.cpp:

Namespaces

 catapult
 
 catapult::thread
 

Functions

std::unique_ptr< IoThreadPool > catapult::thread::CreateIoThreadPool (size_t numWorkerThreads, const char *name)
 

Variable Documentation

◆ m_ioContext

boost::asio::io_context m_ioContext
private

◆ m_numConfiguredWorkerThreads

size_t m_numConfiguredWorkerThreads
private

◆ m_numWorkerThreads

std::atomic<uint32_t> m_numWorkerThreads
private

◆ m_pContext

std::unique_ptr<ThreadPoolContext> m_pContext
private

◆ m_tag

std::string m_tag
private

◆ m_threads

boost::thread_group m_threads
private

◆ m_work

boost::asio::executor_work_guard<boost::asio::io_context::executor_type> m_work
private