Closed Berrysoft closed 1 year ago
I'm not familiar with eventfd. Do you know why eventfd causes EBUSY in io-uring? @DXist
Is it because we closed the fd but not cancelled the read op?
Haven't used it yet.
Do you have full completion queue when you try to submit? Do you read in blocking way?
There is a relevant issue in monoio
Poller::post
is removed because it is not consistent between platforms. A new type Event
is added, providing functionality to wake up driver. Event
uses eventfd for io-uring, and calls PostQueuedCompletionStatus
on Windows.
I think we could move RefCells into runtime and wrap Runtime::driver field.
I'll try that.
https://github.com/Berrysoft/compio/issues/28#issuecomment-1711592536