ringbahn / iou

Rust interface to io_uring
Apache License 2.0
328 stars 22 forks source link

Simplify CQEs by making them fully owned. #41

Closed withoutboats closed 4 years ago

withoutboats commented 4 years ago

Rather than passing around a reference into the CQE buffer, just copy the (small) data of a CQE out of it. This will simplify implementing better CQE processing APIs also.

Credit where its due: this idea originated with quininer's implementation of io-uring.