Home
last modified time | relevance | path

Searched refs:io_contexts_ (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/doc/html/boost_asio/example/cpp03/http/server2/
Dio_context_pool.cpp31 io_contexts_.push_back(io_context); in io_context_pool()
41 for (std::size_t i = 0; i < io_contexts_.size(); ++i) in run()
44 boost::bind(&boost::asio::io_context::run, io_contexts_[i]))); in run()
56 for (std::size_t i = 0; i < io_contexts_.size(); ++i) in stop()
57 io_contexts_[i]->stop(); in stop()
63 boost::asio::io_context& io_context = *io_contexts_[next_io_context_]; in get_io_context()
65 if (next_io_context_ == io_contexts_.size()) in get_io_context()
Dio_context_pool.hpp44 std::vector<io_context_ptr> io_contexts_; member in http::server2::io_context_pool
/third_party/boost/libs/asio/example/cpp03/http/server2/
Dio_context_pool.cpp31 io_contexts_.push_back(io_context); in io_context_pool()
41 for (std::size_t i = 0; i < io_contexts_.size(); ++i) in run()
44 boost::bind(&boost::asio::io_context::run, io_contexts_[i]))); in run()
56 for (std::size_t i = 0; i < io_contexts_.size(); ++i) in stop()
57 io_contexts_[i]->stop(); in stop()
63 boost::asio::io_context& io_context = *io_contexts_[next_io_context_]; in get_io_context()
65 if (next_io_context_ == io_contexts_.size()) in get_io_context()
Dio_context_pool.hpp44 std::vector<io_context_ptr> io_contexts_; member in http::server2::io_context_pool