Close the pipe. * This function is used to close the pipe. Any asynchronous write operations * will be cancelled immediately, and will complete with the * boost::asio::error::operation_aborted error. * * @throws boost::system::system_error Thrown on failure. */
| 338 | * @throws boost::system::system_error Thrown on failure. |
| 339 | */ |
| 340 | void close() |
| 341 | { |
| 342 | boost::system::error_code ec; |
| 343 | impl_.get_service().close(impl_.get_implementation(), ec); |
| 344 | boost::asio::detail::throw_error(ec, "close"); |
| 345 | } |
| 346 | |
| 347 | /// Close the pipe. |
| 348 | /** |
nothing calls this directly
no test coverage detected