2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-24 17:42:08 +00:00

Use new signal_set to shut down.

[SVN r71707]
This commit is contained in:
Christopher Kohlhoff
2011-05-03 23:57:23 +00:00
parent 1a6b11f287
commit a2000c8a38
8 changed files with 52 additions and 34 deletions

View File

@@ -57,13 +57,6 @@ void server::run()
io_service_.run();
}
void server::stop()
{
// Post a call to the stop function so that server::stop() is safe to call
// from any thread.
io_service_.post(boost::bind(&server::handle_stop, this));
}
void server::handle_accept(const boost::system::error_code& e)
{
if (!e)