Commit 6d6ce5ec authored by Florian Fischer's avatar Florian Fischer
Browse files

support 5.19 io_uring

5.19 introduces new buffer opcodes thus the waitfd registration is
bumped.
parent 41288a7b
Pipeline #84536 passed with stages
in 16 minutes and 31 seconds
......@@ -15,6 +15,7 @@ using emper::io::IoContext;
#ifndef IOURING_REGISTER_WAITFD
static const unsigned IOURING_REGISTER_WAITFD = []() -> unsigned {
if (EMPER_LINUX_GE("5.19")) return 24;
if (EMPER_LINUX_GE("5.18")) return 22;
return 20;
}();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment