/usr/include/boost/asio/impl
NameSizeModeActions
awaitable.hpp117480644editdlrm
buffered_read_stream.hpp169250644editdlrm
buffered_write_stream.hpp164290644editdlrm
compose.hpp204610644editdlrm
connect.hpp322340644editdlrm
co_spawn.hpp88340644editdlrm
defer.hpp78030644editdlrm
detached.hpp33740644editdlrm
dispatch.hpp75670644editdlrm
error.ipp30700644editdlrm
execution_context.hpp32470644editdlrm
execution_context.ipp18010644editdlrm
executor.hpp68350644editdlrm
executor.ipp10020644editdlrm
handler_alloc_hook.ipp19840644editdlrm
io_context.hpp137280644editdlrm
io_context.ipp41080644editdlrm
multiple_exceptions.ipp12800644editdlrm
post.hpp77620644editdlrm
read.hpp451780644editdlrm
read_at.hpp283310644editdlrm
read_until.hpp1153350644editdlrm
redirect_error.hpp120150644editdlrm
serial_port_base.hpp13750644editdlrm
serial_port_base.ipp133270644editdlrm
spawn.hpp158540644editdlrm
src.hpp38330644editdlrm
system_context.hpp8750644editdlrm
system_context.ipp21090644editdlrm
system_executor.hpp63910644editdlrm
thread_pool.hpp108530644editdlrm
thread_pool.ipp31320644editdlrm
use_awaitable.hpp72440644editdlrm
use_future.hpp276100644editdlrm
write.hpp410760644editdlrm
write_at.hpp247320644editdlrm
Edit: /usr/include/boost/asio/impl/io_context.ipp (4108B)
// // impl/io_context.ipp // ~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_IMPL_IO_CONTEXT_IPP #define BOOST_ASIO_IMPL_IO_CONTEXT_IPP #if defined(_MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) #include #include #include #include #include #include #include #if defined(BOOST_ASIO_HAS_IOCP) # include #else # include #endif #include namespace boost { namespace asio { io_context::io_context() : impl_(add_impl(new impl_type(*this, BOOST_ASIO_CONCURRENCY_HINT_DEFAULT, false))) { } io_context::io_context(int concurrency_hint) : impl_(add_impl(new impl_type(*this, concurrency_hint == 1 ? BOOST_ASIO_CONCURRENCY_HINT_1 : concurrency_hint, false))) { } io_context::impl_type& io_context::add_impl(io_context::impl_type* impl) { boost::asio::detail::scoped_ptr scoped_impl(impl); boost::asio::add_service(*this, scoped_impl.get()); return *scoped_impl.release(); } io_context::~io_context() { } io_context::count_type io_context::run() { boost::system::error_code ec; count_type s = impl_.run(ec); boost::asio::detail::throw_error(ec); return s; } #if !defined(BOOST_ASIO_NO_DEPRECATED) io_context::count_type io_context::run(boost::system::error_code& ec) { return impl_.run(ec); } #endif // !defined(BOOST_ASIO_NO_DEPRECATED) io_context::count_type io_context::run_one() { boost::system::error_code ec; count_type s = impl_.run_one(ec); boost::asio::detail::throw_error(ec); return s; } #if !defined(BOOST_ASIO_NO_DEPRECATED) io_context::count_type io_context::run_one(boost::system::error_code& ec) { return impl_.run_one(ec); } #endif // !defined(BOOST_ASIO_NO_DEPRECATED) io_context::count_type io_context::poll() { boost::system::error_code ec; count_type s = impl_.poll(ec); boost::asio::detail::throw_error(ec); return s; } #if !defined(BOOST_ASIO_NO_DEPRECATED) io_context::count_type io_context::poll(boost::system::error_code& ec) { return impl_.poll(ec); } #endif // !defined(BOOST_ASIO_NO_DEPRECATED) io_context::count_type io_context::poll_one() { boost::system::error_code ec; count_type s = impl_.poll_one(ec); boost::asio::detail::throw_error(ec); return s; } #if !defined(BOOST_ASIO_NO_DEPRECATED) io_context::count_type io_context::poll_one(boost::system::error_code& ec) { return impl_.poll_one(ec); } #endif // !defined(BOOST_ASIO_NO_DEPRECATED) void io_context::stop() { impl_.stop(); } bool io_context::stopped() const { return impl_.stopped(); } void io_context::restart() { impl_.restart(); } io_context::service::service(boost::asio::io_context& owner) : execution_context::service(owner) { } io_context::service::~service() { } void io_context::service::shutdown() { #if !defined(BOOST_ASIO_NO_DEPRECATED) shutdown_service(); #endif // !defined(BOOST_ASIO_NO_DEPRECATED) } #if !defined(BOOST_ASIO_NO_DEPRECATED) void io_context::service::shutdown_service() { } #endif // !defined(BOOST_ASIO_NO_DEPRECATED) void io_context::service::notify_fork(io_context::fork_event ev) { #if !defined(BOOST_ASIO_NO_DEPRECATED) fork_service(ev); #else // !defined(BOOST_ASIO_NO_DEPRECATED) (void)ev; #endif // !defined(BOOST_ASIO_NO_DEPRECATED) } #if !defined(BOOST_ASIO_NO_DEPRECATED) void io_context::service::fork_service(io_context::fork_event) { } #endif // !defined(BOOST_ASIO_NO_DEPRECATED) } // namespace asio } // namespace boost #include #endif // BOOST_ASIO_IMPL_IO_CONTEXT_IPP