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

Function __coroutine_signal_completion

include/stdexec/coroutine.hpp:288–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 }
287
288 inline auto
289 __coroutine_signal_completion(__std::atomic<std::thread::id>& __thread_id_) noexcept //
290 -> __std::coroutine_handle<>
291 {
292 __signal_completion_frame::value.__promise_.__thread_id_ = &__thread_id_;
293 return __std::coroutine_handle<>::from_address(&__signal_completion_frame::value);
294 }
295
296# else
297

Callers 1

await_suspendMethod · 0.85

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected