main starts a thread that keep a global io_service object running and makes sure it is stopped when everything else is stopped.
6 lines
126 B
C++
6 lines
126 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <boost/asio.hpp>
|
|
|
|
std::shared_ptr<boost::asio::io_service> getGlobalAsioIoService();
|