Displaying 2 results from an estimated 2 matches for "b01f8b96".
Did you mean:
b01f8b29
2023 Jul 06
1
Libnbd asynchronous API with epoll
...> reading from the file descriptor would block?
>
No, you have to call again aio_get_direction() and poll again until the
event happens.
Nir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20230706/b01f8b96/attachment.htm>
2023 Jul 05
1
Libnbd asynchronous API with epoll
Hello,
As part of the Rust bindings for Libnbd, I try to integrate the
asynchronous (aio_*) functions with Tokio
<https://docs.rs/tokio/latest/tokio/>, the most used asynchronous
runtime in Rust. However, in its eventloop, Tokio uses epoll(7) instead
of poll(2) (which is used internally in Libnbd). The difference is that
poll(2) uses level-triggered notifications as aposed to epoll(7)