event/Loop: integrate io_uring support

This commit is contained in:
Max Kellermann
2020-05-05 15:18:02 +02:00
parent 62d0ceabcc
commit cdf8ac001c
5 changed files with 159 additions and 0 deletions
+9
View File
@@ -1,3 +1,9 @@
event_sources = []
if uring_dep.found()
event_sources += 'UringManager.cxx'
endif
event = static_library(
'event',
'PollGroupPoll.cxx',
@@ -15,10 +21,12 @@ event = static_library(
'Call.cxx',
'Thread.cxx',
'Loop.cxx',
event_sources,
include_directories: inc,
dependencies: [
boost_dep,
log_dep,
uring_dep,
],
)
@@ -29,5 +37,6 @@ event_dep = declare_dependency(
net_dep,
system_dep,
boost_dep,
uring_dep,
],
)