boost::corosio::io_context::poll_one
Process at most one ready work item without blocking.
Synopsis
Declared in <boost/corosio/io_context.hpp>
std::size_t
poll_one();
Description
This function executes at most one work item that is ready to run without blocking for more work. The context is stopped when there is no more outstanding work.
|
The context must be restarted with |
Return Value
The number of handlers executed (0 or 1).
Created with MrDocs