25#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,
"Curl Service error : %s", e.what());
75void SService::addWork(boost::function<
void()> func)