diff options
| author | Joran Dirk Greef <joran@ronomon.com> | 2020-09-17 19:53:34 +0200 |
|---|---|---|
| committer | Joran Dirk Greef <joran@ronomon.com> | 2020-09-17 19:53:34 +0200 |
| commit | d966fe63190de2992d6a7985bc492b9d9699d253 (patch) | |
| tree | 22ba92c09c7190f4d3ae802ccb8feb5fb9d243fc /lib/std/os/bits/linux.zig | |
| parent | 21c81360ba40d645768d061723522116b6408d48 (diff) | |
| download | zig-d966fe63190de2992d6a7985bc492b9d9699d253.tar.gz zig-d966fe63190de2992d6a7985bc492b9d9699d253.zip | |
Add IORING_SQ_CQ_OVERFLOW to std/os/bits/linux.zig
Diffstat (limited to 'lib/std/os/bits/linux.zig')
| -rw-r--r-- | lib/std/os/bits/linux.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/std/os/bits/linux.zig b/lib/std/os/bits/linux.zig index df31bc32fd..c5f272c042 100644 --- a/lib/std/os/bits/linux.zig +++ b/lib/std/os/bits/linux.zig @@ -1251,6 +1251,9 @@ pub const io_sqring_offsets = extern struct { /// needs io_uring_enter wakeup pub const IORING_SQ_NEED_WAKEUP = 1 << 0; +/// kernel has cqes waiting beyond the cq ring +pub const IORING_SQ_CQ_OVERFLOW = 1 << 1; + pub const io_cqring_offsets = extern struct { head: u32, tail: u32, |
