MCPcopy Create free account
hub / github.com/alibaba/zvec / execute

Method execute

src/include/zvec/ailego/parallel/thread_queue.h:238–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 //! Execute a function as a task in pool
237 template <typename... TArgs>
238 void execute(uint64_t key, TArgs &&...args) {
239 this->enqueue_and_wake(key, Closure::New(std::forward<TArgs>(args)...));
240 }
241
242 //! Push a task to the queue with high priority
243 template <typename T>

Callers

nothing calls this directly

Calls 1

enqueue_and_wakeMethod · 0.95

Tested by

no test coverage detected