If I already have boost's ios service running in a separate thread like this:
boost::asio::io_service ios;
boost::thread bt(boost::bind(&boost::asio::io_service::run, &ios));
Is it possible to then use it for a socket or timer? Or does it need to be stopped before it is passed to these constructors?
boost::asio::deadline_timer dt1 = boost::asio::deadline_timer(ios);