Displaying 1 result from an estimated 1 matches for "9e412ecd".
2023 Jul 07
2
Libnbd asynchronous API with epoll
On 7/6/2023 7:06 PM, Nir Soffer wrote:
>
> - After calling for example aio_notify_read(3), can I know that the
> next reading from the file descriptor would block?
>
> No, you have to call again aio_get_direction() and poll again until
> the event happens.
>
Well, what I mean is:
After calling aio_notify_read, if aio_get_direction returns
AIO_DIRECTION_READ or