tokio-uring icon indicating copy to clipboard operation
tokio-uring copied to clipboard

Support for IO_LINK feature

Open SidongYang opened this issue 1 year ago • 0 comments

Hi, we use tokio uring well in our work. and also we need IO_LINK feature in tokio uring. I agree that we should consider API design for the link feature. #86

I wrote some example code that support flags in write_at, read_at API. It just add [read|write]_at_with_flags that add flags for original code. Also we need to unsubmitted read API for await in async task. https://github.com/SidongYang/tokio-uring/pull/1

But I'm not sure that this code is good way to support flags. In example, it creates async tasks for await multiple events. I think it's little bad for tokio uring that uses single threaded.

SidongYang avatar Dec 31 '23 10:12 SidongYang