io-uring
io-uring copied to clipboard
passing operation flags: IORING_ACCEPT_MULTISHOT
What is the recommended way to get the IORING_ACCEPT_MULTISHOT value to pass as a flag to the opcode::Accept::new to be used by the tokio-rs/tokio-uring crate?
Now that I have it working with my own forks, I see it required adding an optional ioprio field to the Accept operation. But I'm still wondering what the preferred way to get at the constant values from the bindings should be.
I'm going to second this question.
@quininer How would you like this flag exposed so accept multishot can be run?
I don't know, if you have a prototype, I can look at it.
This issue can be closed.
- #186 handles it.