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

Method enqueue

include/exec/tbb/tbb_thread_pool.hpp:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 void enqueue(exec::_pool_::task_base* task, std::uint32_t tid = 0) noexcept
57 {
58 arena_.enqueue([task, tid] { task->execute_(task, /*tid=*/tid); });
59 }
60
61 ::tbb::task_arena arena_{::tbb::task_arena::attach{}};
62 };

Callers

nothing calls this directly

Calls 1

execute_Method · 0.80

Tested by

no test coverage detected