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

Function test_stickiness_for_two_single_thread_contexts

test/exec/test_task.cpp:98–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 auto test_stickiness_for_two_single_thread_contexts(auto scheduler1,
99 auto scheduler2,
100 auto id1,
101 auto id2) -> exec::task<void>
102 {
103 co_await exec::reschedule_coroutine_on(scheduler1);
104 CHECK(get_id() == id1);
105 co_await test_stickiness_for_two_single_thread_contexts_(scheduler1, scheduler2, id1, id2);
106 CHECK(get_id() == id1);
107 }
108
109 auto test_stickiness_for_two_single_thread_contexts_with_sender(auto scheduler1,
110 auto scheduler2,

Callers 1

test_task.cppFile · 0.85

Calls 2

get_idFunction · 0.85

Tested by

no test coverage detected