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

recv multi with panic

Open FrankReh opened this issue 2 years ago • 1 comments

This is a draft, to show the call to self.inner.borrow_mut().resubmit_op_stream in runtime/driver/handle.rs and why it seems desirable to be able to push to the io_uring squeue from within the context of a Future or Stream being polled. It's all synchronous, but because the driver does not support mutable access to the io-uring's squeue without having a mutable reference, and the mutable reference appears to be held at a higher level while task polls are going on, this is a problem.

There are a lot of commits, but just the latest one is made over the recv_multi PR.

FrankReh avatar Feb 27 '23 16:02 FrankReh

At the top of this page, is the unfortunate wording wants to merge 17 commits into.

This is a draft, there is no merge wanted.

FrankReh avatar Feb 27 '23 16:02 FrankReh