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

Method start

include/exec/unless_stop_requested.hpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 {}
57
58 constexpr void start() noexcept
59 {
60 if (STDEXEC::get_stop_token(STDEXEC::get_env(__rcvr_)).stop_requested())
61 {
62 STDEXEC::set_stopped(static_cast<_Receiver&&>(__rcvr_));
63 }
64 else
65 {
66 STDEXEC::start(__child_op_);
67 }
68 }
69
70 _Receiver __rcvr_;
71 __child_op_t __child_op_;

Callers

nothing calls this directly

Calls 4

get_envFunction · 0.70
set_stoppedFunction · 0.70
startFunction · 0.70
stop_requestedMethod · 0.45

Tested by

no test coverage detected