authorgravatar for noamr.lego@gmail.comNoam Rothschild <noamr.lego@gmail.com> 2026-05-02 20:38:13+03:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-07 16:12:44+02:00
log1ebc455715958d131cc00caa9aa6c58fa8e7b726
tree2de0b470c8f7115db467189e03771aa5d6c4041e
parent7b720ad26b589764078330aa924bde79c627c8f8

std: fixed a doc comment on IoUring.copy_cqes (#35175)


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/os/linux/IoUring.zig+1-1
......@@ -267,7 +267,7 @@ pub fn cq_ready(self: *IoUring) u32 {
267267}
268268
269269/// Copies as many CQEs as are ready, and that can fit into the destination `cqes` slice.
270/// If none are available, enters into the kernel to wait for at most `wait_nr` CQEs.
270/// If none are available, enters into the kernel to wait for at least `wait_nr` CQEs.
271271/// Returns the number of CQEs copied, advancing the CQ ring.
272272/// Provides all the wait/peek methods found in liburing, but with batching and a single method.
273273/// The rationale for copying CQEs rather than copying pointers is that pointers are 8 bytes