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

Method stop

example/cpp11/http/server2/io_context_pool.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void io_context_pool::stop()
47{
48 // Explicitly stop all io_contexts.
49 for (std::size_t i = 0; i < io_contexts_.size(); ++i)
50 io_contexts_[i]->stop();
51}
52
53boost::asio::io_context& io_context_pool::get_io_context()
54{

Callers 1

do_await_stopMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected