MCPcopy Create free account
hub / github.com/boostorg/asio / do_await_stop

Method do_await_stop

example/cpp11/http/server2/server.cpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void server::do_await_stop()
77{
78 signals_.async_wait(
79 [this](boost::system::error_code /*ec*/, int /*signo*/)
80 {
81 io_context_pool_.stop();
82 });
83}
84
85} // namespace server2
86} // namespace http

Callers

nothing calls this directly

Calls 2

async_waitMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected