zig/lib/std/os/linux
Vincent Rischmann 6630a5ede5 io_uring: improve IO_Uring.copy_cqe
copy_cqes() is not guaranteed to return as many CQEs as provided in the
`wait_nr` argument, meaning the assert in `copy_cqe` can trigger.

Instead, loop until we do get at least one CQE returned.

This mimics the behaviour of liburing's _io_uring_get_cqe.
2022-01-04 02:13:41 -05:00
..
bpf stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
errno std.os reorganization, avoiding usingnamespace 2021-09-01 17:54:06 -07:00
arm64.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
arm-eabi.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
bpf.zig std, compiler-rt: remove test names where applicable 2021-09-01 17:54:06 -07:00
i386.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
io_uring.zig io_uring: improve IO_Uring.copy_cqe 2022-01-04 02:13:41 -05:00
ioctl.zig Add Linux ioctl creation utilities (#9748) 2021-09-18 09:56:11 +03:00
mips.zig Fix MIPS inline assembly clobbers 2021-12-18 14:42:01 -08:00
powerpc64.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
powerpc.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
riscv64.zig Linux: Update syscall numbers for 5.14 2021-10-17 14:22:47 -04:00
sparc64.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
start_pie.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
test.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
thumb.zig std: reorganization that allows new usingnamespace semantics 2021-09-01 17:54:06 -07:00
tls.zig std: Fix edge case in TLS tp calculation 2021-10-23 22:48:25 -04:00
vdso.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
x86_64.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00