MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / wait

Function wait

3rd/asio-1.24.0/include/asio/basic_socket_acceptor.hpp:1168–1173  ·  view source on GitHub ↗

Wait for the acceptor to become ready to read, ready to write, or to have pending error conditions. * This function is used to perform a blocking wait for an acceptor to enter * a ready to read, write or error condition state. * * @param w Specifies the desired acceptor state. * * @par Example * Waiting for an acceptor to become readable. * @code * asio::ip::tcp::acceptor a

Source from the content-addressed store, hash-verified

1166 * @endcode
1167 */
1168 void wait(wait_type w)
1169 {
1170 asio::error_code ec;
1171 impl_.get_service().wait(impl_.get_implementation(), w, ec);
1172 asio::detail::throw_error(ec, "wait");
1173 }
1174
1175 /// Wait for the acceptor to become ready to read, ready to write, or to have
1176 /// pending error conditions.

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
waitMethod · 0.45

Tested by

no test coverage detected