ThreadPool::Impl Struct Reference

Public Member Functions

 Impl (std::size_t pool_size, bool queueTasks)
 

Public Attributes

std::size_t available
 
boost::asio::io_service io_service
 
std::mutex mutex
 
bool queueTasks
 
boost::thread_group threads
 
boost::asio::io_service::work work
 

Detailed Description

Definition at line 42 of file ThreadPool.cpp.

Constructor & Destructor Documentation

◆ Impl()

Impl ( std::size_t  pool_size,
bool  queueTasks 
)
inline

Definition at line 44 of file ThreadPool.cpp.

Member Data Documentation

◆ available

std::size_t available

Definition at line 53 of file ThreadPool.cpp.

◆ io_service

boost::asio::io_service io_service

Definition at line 50 of file ThreadPool.cpp.

◆ mutex

std::mutex mutex

Definition at line 54 of file ThreadPool.cpp.

◆ queueTasks

bool queueTasks

Definition at line 55 of file ThreadPool.cpp.

◆ threads

boost::thread_group threads

Definition at line 52 of file ThreadPool.cpp.

◆ work

boost::asio::io_service::work work

Definition at line 51 of file ThreadPool.cpp.


The documentation for this struct was generated from the following file: