Cancel all asynchronous operations associated with the pipe. * This function causes all outstanding asynchronous read operations to finish * immediately, and the handlers for cancelled operations will be passed the * boost::asio::error::operation_aborted error. * * @throws boost::system::system_error Thrown on failure. */
| 430 | * @throws boost::system::system_error Thrown on failure. |
| 431 | */ |
| 432 | void cancel() |
| 433 | { |
| 434 | boost::system::error_code ec; |
| 435 | impl_.get_service().cancel(impl_.get_implementation(), ec); |
| 436 | boost::asio::detail::throw_error(ec, "cancel"); |
| 437 | } |
| 438 | |
| 439 | /// Cancel all asynchronous operations associated with the pipe. |
| 440 | /** |
nothing calls this directly
no test coverage detected