Add io_uring_wait_cqes()

Allows to wait for a specific number of CQEs, which can be used more
optimally when we can inform the kernel of how many we are waiting
for.

Calling convention is the same as io_uring_wait_cqe(), we can only
return one cqe inline.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
3 files changed