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

Method start

test/exec/test_trampoline_scheduler.cpp:44–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 int counter_;
43
44 void start() & noexcept
45 {
46 if (counter_ == 0)
47 {
48 ex::set_value(static_cast<Receiver&&>(rcvr_));
49 }
50 else
51 {
52 ex::set_error(static_cast<Receiver&&>(rcvr_), try_again{});
53 }
54 }
55 };
56
57 template <ex::receiver_of<completion_signatures> Receiver>

Callers

nothing calls this directly

Calls 2

set_valueFunction · 0.85
set_errorFunction · 0.50

Tested by

no test coverage detected