What about a simplified version of io_uring_peek_batch_cqe? #1242
Unanswered
Ebenezer-group
asked this question in
Q&A
Replies: 1 comment
-
You could surely add that, might make sense to just abstract out that part into a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this function:
in this file.
This version of io_uring_peek_batch seems more complicated than I want:
I would like a version that trusts me that something is ready. There could be an assert added that 'ready' is a positive number after the call to io_uring_cq_ready. Something like this:
Building with this simplified version reduces the size of my executable by several hundred bytes.
Beta Was this translation helpful? Give feedback.
All reactions