27 #include <boost/thread/tss.hpp> 38 static boost::thread_specific_ptr<boost::asio::io_service>
g_ioService;
40 boost::asio::io_service&
43 if (g_ioService.get() ==
nullptr) {
44 g_ioService.reset(
new boost::asio::io_service());
static boost::thread_specific_ptr< boost::asio::io_service > g_ioService
void resetGlobalIoService()
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
void resetGlobalScheduler()
boost::asio::io_service & getGlobalIoService()