File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525# include " exec/linux/io_uring_context.hpp"
2626# include " exec/scope.hpp"
2727# include " exec/single_thread_context.hpp"
28+ # include " exec/start_detached.hpp"
2829# include " exec/when_any.hpp"
2930
3031# include " catch2/catch.hpp"
@@ -119,13 +120,13 @@ namespace
119120 io_uring_context context;
120121 io_uring_scheduler scheduler = context.get_scheduler ();
121122 bool is_called = false ;
122- start_detached (schedule (scheduler)
123- | then (
124- [&]
125- {
126- CHECK (context.is_running ());
127- is_called = true ;
128- }));
123+ exec:: start_detached (schedule (scheduler)
124+ | then (
125+ [&]
126+ {
127+ CHECK (context.is_running ());
128+ is_called = true ;
129+ }));
129130 context.run_until_empty ();
130131 CHECK (is_called);
131132 CHECK (!context.is_running ());
@@ -206,13 +207,13 @@ namespace
206207 io_uring_scheduler scheduler = context.get_scheduler ();
207208 {
208209 bool is_called = false ;
209- start_detached (schedule (scheduler)
210- | then (
211- [&]
212- {
213- CHECK (context.is_running ());
214- is_called = true ;
215- }));
210+ exec:: start_detached (schedule (scheduler)
211+ | then (
212+ [&]
213+ {
214+ CHECK (context.is_running ());
215+ is_called = true ;
216+ }));
216217 context.run_until_empty ();
217218 CHECK (is_called);
218219 CHECK (!context.is_running ());
You can’t perform that action at this time.
0 commit comments