You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various third party libraries will do their own I/O but they can key off a suitable readiness indication from the library. To support bindings of sender/receiver interfaces hooking into an existing run-loop it is necessary to actually support a corresponding readiness indicator. The implement is effectively similar to existing asynchronous operations except that the readiness operation doesn't actually do anything at all upon the system indicating readiness.
The implementation probably needs to do the following:
Add a "ready" or "poll" operation - or whatever is a good name for the operation - to operation.hpp.
Add another virtual function for the new operation to context_baseand all existing derived classes (currently, that is only poll_context).
This operation is not, yet, represented in the proposal and it needs to be added the actual proposal.
On poll(2), epoll(7), or kqueue(2) based systems that could actually be the basis operations used to implement all the operations. However, when using a system interface indicating completion (e.g., io_uring or IOCP) the actual operation needs to be submitted requiring additional information when submitting the request.
The text was updated successfully, but these errors were encountered:
Various third party libraries will do their own I/O but they can key off a suitable readiness indication from the library. To support bindings of sender/receiver interfaces hooking into an existing run-loop it is necessary to actually support a corresponding readiness indicator. The implement is effectively similar to existing asynchronous operations except that the readiness operation doesn't actually do anything at all upon the system indicating readiness.
The implementation probably needs to do the following:
ready
" or "poll
" operation - or whatever is a good name for the operation - tooperation.hpp
.virtual
function for the new operation tocontext_base
and all existing derived classes (currently, that is onlypoll_context
).On
poll(2)
,epoll(7)
, orkqueue(2)
based systems that could actually be the basis operations used to implement all the operations. However, when using a system interface indicating completion (e.g.,io_uring
or IOCP) the actual operation needs to be submitted requiring additional information when submitting the request.The text was updated successfully, but these errors were encountered: