Boost C++ 库

...世界上最受推崇、设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

basic_writable_pipe::cancel (2 个重载中的 1 个) - Boost C++ 函数库
PrevUpHomeNext

取消与该管道关联的所有异步操作。

void cancel();

此函数会立即完成所有未完成的异步写操作,并且被取消的操作的处理程序将收到 boost::asio::error::operation_aborted 错误。

异常

boost::system::system_error

失败时抛出。


PrevUpHomeNext