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

Method enqueue

include/exec/asio/asio_thread_pool.hpp:66–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void enqueue(exec::_pool_::task_base* task, std::uint32_t tid = 0) noexcept
67 {
68 asio_impl::post(pool_, [task, tid] { task->execute_(task, /*tid=*/tid); });
69 }
70
71 asio_impl::thread_pool pool_;
72 // Need to store implicitly the executor, thread_pool::executor() is not const

Callers

nothing calls this directly

Calls 1

execute_Method · 0.80

Tested by

no test coverage detected