Home
last modified time | relevance | path

Searched refs:io_service (Results 1 – 25 of 46) sorted by relevance

12

/third_party/nghttp2/src/
Dasio_client_session.cc40 session::session(boost::asio::io_service &io_service, const std::string &host, in session() argument
43 io_service, host, service, boost::posix_time::seconds(60))) { in session()
47 session::session(boost::asio::io_service &io_service, in session() argument
51 io_service, local_endpoint, host, service, in session()
56 session::session(boost::asio::io_service &io_service, const std::string &host, in session() argument
59 : impl_(std::make_shared<session_tcp_impl>(io_service, host, service, in session()
64 session::session(boost::asio::io_service &io_service, in session() argument
68 : impl_(std::make_shared<session_tcp_impl>(io_service, local_endpoint, host, in session()
73 session::session(boost::asio::io_service &io_service, in session() argument
77 io_service, tls_ctx, host, service, boost::posix_time::seconds(60))) { in session()
[all …]
Dasio_io_service_pool.cc50 auto io_service = std::make_shared<boost::asio::io_service>(); in io_service_pool() local
51 auto work = std::make_shared<boost::asio::io_service::work>(*io_service); in io_service_pool()
52 io_services_.push_back(io_service); in io_service_pool()
61 (size_t(boost::asio::io_service::*)(void)) & in run()
62 boost::asio::io_service::run, in run()
90 boost::asio::io_service &io_service_pool::get_io_service() { in get_io_service()
92 auto &io_service = *io_services_[next_io_service_]; in get_io_service() local
97 return io_service; in get_io_service()
100 const std::vector<std::shared_ptr<boost::asio::io_service>> &
Dasio_client_session_tcp_impl.cc32 boost::asio::io_service &io_service, const std::string &host, in session_tcp_impl() argument
35 : session_impl(io_service, connect_timeout), socket_(io_service) {} in session_tcp_impl()
38 boost::asio::io_service &io_service, in session_tcp_impl() argument
42 : session_impl(io_service, connect_timeout), socket_(io_service) { in session_tcp_impl()
Dasio_io_service_pool.h74 boost::asio::io_service &get_io_service();
77 const std::vector<std::shared_ptr<boost::asio::io_service>> &
82 std::vector<std::shared_ptr<boost::asio::io_service>> io_services_;
85 std::vector<std::shared_ptr<boost::asio::io_service::work>> work_;
Dasio_client_session_tcp_impl.h40 session_tcp_impl(boost::asio::io_service &io_service, const std::string &host,
43 session_tcp_impl(boost::asio::io_service &io_service,
Dasio_server_http2_handler.h56 http2_handler(boost::asio::io_service &io_service,
91 boost::asio::io_service &io_service();
157 boost::asio::io_service &io_service_;
Dasio_client_session_impl.h46 session_impl(boost::asio::io_service &io_service,
87 boost::asio::io_service &io_service();
115 boost::asio::io_service &io_service_;
Dasio_client_session_tls_impl.cc33 boost::asio::io_service &io_service, boost::asio::ssl::context &tls_ctx, in session_tls_impl() argument
36 : session_impl(io_service, connect_timeout), socket_(io_service, tls_ctx) { in session_tls_impl()
Dasio_server_response.cc67 boost::asio::io_service &response::io_service() const { in io_service() function in nghttp2::asio_http2::server::response
68 return impl_->io_service(); in io_service()
Dasio_server_response_impl.cc132 boost::asio::io_service &response_impl::io_service() { in io_service() function in nghttp2::asio_http2::server::response_impl
133 return strm_->handler()->io_service(); in io_service()
Dasio_client_session_tls_impl.h42 session_tls_impl(boost::asio::io_service &io_service,
Dasio_server_response_impl.h61 boost::asio::io_service &io_service();
Dasio_client_session_impl.cc42 boost::asio::io_service &io_service, in session_impl() argument
45 io_service_(io_service), in session_impl()
46 resolver_(io_service), in session_impl()
47 deadline_(io_service), in session_impl()
50 ping_(io_service), in session_impl()
588 boost::asio::io_service &session_impl::io_service() { return io_service_; } in io_service() function in nghttp2::asio_http2::client::session_impl
Dasio_server_http2_handler.cc237 http2_handler::http2_handler(boost::asio::io_service &io_service, in http2_handler() argument
242 io_service_(io_service), in http2_handler()
481 boost::asio::io_service &http2_handler::io_service() { return io_service_; } in io_service() function in nghttp2::asio_http2::server::http2_handler
/third_party/nghttp2/src/includes/nghttp2/
Dasio_http2_client.h150 session(boost::asio::io_service &io_service, const std::string &host,
154 session(boost::asio::io_service &io_service,
161 session(boost::asio::io_service &io_service, const std::string &host,
166 session(boost::asio::io_service &io_service,
174 session(boost::asio::io_service &io_service,
181 session(boost::asio::io_service &io_service,
205 boost::asio::io_service &io_service() const;
Dasio_http2_server.h116 boost::asio::io_service &io_service() const;
214 const std::vector<std::shared_ptr<boost::asio::io_service>> &
/third_party/boost/libs/fiber/doc/
Dintegration.qbk58 [@http://www.boost.org/doc/libs/release/doc/html/boost_asio/reference/io_service/run.html
59 `io_service::run()`] in this way.
75 [@http://www.boost.org/doc/libs/release/doc/html/boost_asio/reference/io_service/post.html
76 `io_service::post()`] instead of setting a timer for some nonzero interval
78 are blocked, the io_service and the fiber manager would simply spin the CPU,
104 [@http://www.boost.org/doc/libs/release/doc/html/boost_asio/reference/io_service/run.html
105 `io_service::run()`] on the same `io_service` instance. The reason is that
109 multiple threads to call `io_service::run()` on the same `io_service`
116 calls from the `io_service`, it is the application[s] responsibility to ensure
118 [@http://www.boost.org/doc/libs/release/doc/html/boost_asio/reference/io_service/stop.html
[all …]
/third_party/boost/libs/thread/test/
Dtest_9303.cpp158 boost::asio::io_service io_service; in main() local
160 boost::asio::io_service::work work(io_service); in main()
164 threads.create_thread(boost::bind(&boost::asio::io_service::run, in main()
165 &io_service)); in main()
170 io_service.post(boost::bind(&task_t::operator(), example)); in main()
/third_party/nghttp2/examples/
Dasio-cl.cc42 boost::asio::io_service io_service; in main() local
58 auto sess = scheme == "https" ? session(io_service, tls_ctx, host, service) in main()
59 : session(io_service, host, service); in main()
90 io_service.run(); in main()
Dasio-cl2.cc66 boost::asio::io_service io_service; in main() local
82 auto sess = scheme == "https" ? session(io_service, tls_ctx, host, service) in main()
83 : session(io_service, host, service); in main()
128 io_service.run(); in main()
/third_party/boost/libs/phoenix/example/
Dadapted_echo_server.cpp48 boost::asio::io_service io_service; in main() local
49 …boost::asio::ip::tcp::acceptor acceptor(io_service, boost::asio::ip::tcp::endpoint(boost::asio::ip… in main()
50 boost::asio::ip::tcp::socket socket(io_service); in main()
103 io_service.run(); in main()
/third_party/boost/libs/asio/doc/
Dnet_ts.qbk36 [[link boost_asio.reference.io_service `io_service`]]
37 [The name `io_service` is retained as a typedef.]
41 [[link boost_asio.reference.io_context.dispatch `io_service::dispatch`]]
48 [[link boost_asio.reference.io_context.post `io_service::post`]]
55 [[link boost_asio.reference.io_context.post `io_service::post`] when the [link
64 [[link boost_asio.reference.io_context.poll `io_service::poll`] overload that
70 [[link boost_asio.reference.io_context.poll_one `io_service::poll_one`] overload
76 [[link boost_asio.reference.io_context.run `io_service::run`] overload that takes
82 [[link boost_asio.reference.io_context.run_one `io_service::run_one`] overload
96 [[link boost_asio.reference.io_context.reset `io_service::reset`]]
[all …]
/third_party/nghttp2/doc/sources/
Dlibnghttp2_asio.rst239 boost::asio::io_service io_service;
242 session sess(io_service, "localhost", "3000");
273 io_service.run();
277 ``boost::asio::io_service`` object and remote server address. When
309 boost::asio::io_service io_service;
318 session sess(io_service, tls, "localhost", "3000");
349 io_service.run();
387 boost::asio::io_service io_service;
390 session sess(io_service, "localhost", "3000");
423 io_service.run();
/third_party/boost/libs/beast/test/beast/websocket/
Ddoc_snippets.cpp30 net::io_service ios; in fxx()
31 net::io_service::work work{ios}; in fxx()
250 net::io_service ios; in fxx()
251 net::io_service::work work{ios}; in fxx()
/third_party/boost/libs/asio/include/boost/asio/
Dio_service.hpp27 typedef io_context io_service; typedef

12