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

Function cancel

include/boost/asio/basic_file.hpp:747–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745 "or earlier. Consult documentation for details."))
746#endif
747 void cancel()
748 {
749 boost::system::error_code ec;
750 impl_.get_service().cancel(impl_.get_implementation(), ec);
751 boost::asio::detail::throw_error(ec, "cancel");
752 }
753
754 /// Cancel all asynchronous operations associated with the file.
755 /**

Callers

nothing calls this directly

Calls 2

throw_errorFunction · 0.85
cancelMethod · 0.45

Tested by

no test coverage detected