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

passing operation flags: IORING_ACCEPT_MULTISHOT

Open FrankReh opened this issue 3 years ago • 2 comments

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?

FrankReh avatar Sep 16 '22 12:09 FrankReh

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.

FrankReh avatar Sep 17 '22 17:09 FrankReh

I'm going to second this question.

Noah-Kennedy avatar Sep 19 '22 15:09 Noah-Kennedy

@quininer How would you like this flag exposed so accept multishot can be run?

FrankReh avatar Jan 28 '23 15:01 FrankReh

I don't know, if you have a prototype, I can look at it.

quininer avatar Jan 29 '23 07:01 quininer

This issue can be closed.

  • #186 handles it.

FrankReh avatar Feb 13 '23 13:02 FrankReh