Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
manycore
emper
Commits
6d6ce5ec
Commit
6d6ce5ec
authored
Jun 17, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
emper/sleep_strategy/WaitfdSleepStrategy.cpp
View file @
6d6ce5ec
...
...
@@ -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
;
}();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment