|
Core Library
1.6.0.0
Library containing core utilities and tools for threading, networking, logging, INI and CSV file management etc.
|
Go to the documentation of this file.
27 #ifndef IOSERVICETHREADGROUP
28 #define IOSERVICETHREADGROUP
78 template <
typename F>
void Post(F
function)
80 m_ioService.post(
function);
95 #endif // #define IOSERVICETHREADGROUP
I/O Service Thread group class.
Definition: IoServiceThreadGroup.h:48
Thread group class.
Definition: ThreadGroup.h:54
threads::ThreadGroup m_threadGroup
Our thread group.
Definition: IoServiceThreadGroup.h:89
File containing thread group declaration.
The core_lib namespace.
Definition: AsioDefines.h:59
File containing useful definitions.
boost_ioservice_t m_ioService
Boost ASIO I/O service.
Definition: IoServiceThreadGroup.h:85
void Post(F function)
Post a function object to be run by one of our threads.
Definition: IoServiceThreadGroup.h:78
boost_asio::io_service boost_ioservice_t
Boost IO service convenience typedef.
Definition: AsioDefines.h:46
boost_ioservice_t::work m_ioWork
Boost ASIO I/O service work object.
Definition: IoServiceThreadGroup.h:87