MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / test_stick_on_main_nested

Function test_stick_on_main_nested

test/exec/test_task.cpp:214–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 }
213
214 auto test_stick_on_main_nested(ex::scheduler auto sched1,
215 ex::scheduler auto,
216 auto id_main_thread,
217 [[maybe_unused]] auto id1,
218 [[maybe_unused]] auto id2) -> exec::task<void>
219 {
220 CHECK(get_id() == id_main_thread);
221 co_await ex::schedule(sched1);
222 CHECK(get_id() == id_main_thread);
223 }
224
225 auto test_stick_on_main(ex::scheduler auto sched1,
226 ex::scheduler auto sched2,

Callers 1

test_stick_on_mainFunction · 0.85

Calls 2

get_idFunction · 0.85
scheduleFunction · 0.50

Tested by

no test coverage detected