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

Method finish

include/exec/linux/io_uring_context.hpp:462–466  ·  view source on GitHub ↗

@brief Breaks out of the run loop of the io context without stopping the context.

Source from the content-addressed store, hash-verified

460
461 /// @brief Breaks out of the run loop of the io context without stopping the context.
462 void finish()
463 {
464 __break_loop_.store(true, STDEXEC::__std::memory_order_release);
465 wakeup();
466 }
467
468 /// \brief Submits the given task to the io_uring.
469 /// \returns true if the task was submitted, false if this io context and this task is have been stopped.

Callers 4

expect_emptyFunction · 0.45
expect_emptyFunction · 0.45

Calls 1

storeMethod · 0.45

Tested by 2

expect_emptyFunction · 0.36
expect_emptyFunction · 0.36