24#include <scolPlugin.h>
32 m_work.reset(
new boost::asio::io_service::work(m_service));
35 for (std::size_t i = 0; i < 4; ++i)
39 m_threads.create_thread(boost::bind(&boost::asio::io_service::run, &m_service));
41 catch (std::exception &e)
44 MMechostr(MSKDEBUG,
"BitmapTooltik Service error : could not add a thread %s", e.what());
void addWork(boost::function< void()> func)
static SService * GetInstance()