| ... | @@ -267,7 +267,7 @@ pub fn cq_ready(self: *IoUring) u32 { | ... | @@ -267,7 +267,7 @@ pub fn cq_ready(self: *IoUring) u32 { |
| 267 | } | 267 | } |
| 268 | | 268 | |
| 269 | /// Copies as many CQEs as are ready, and that can fit into the destination `cqes` slice. | 269 | /// 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. |
| 271 | /// Returns the number of CQEs copied, advancing the CQ ring. | 271 | /// Returns the number of CQEs copied, advancing the CQ ring. |
| 272 | /// Provides all the wait/peek methods found in liburing, but with batching and a single method. | 272 | /// Provides all the wait/peek methods found in liburing, but with batching and a single method. |
| 273 | /// The rationale for copying CQEs rather than copying pointers is that pointers are 8 bytes | 273 | /// The rationale for copying CQEs rather than copying pointers is that pointers are 8 bytes |