MCPcopy Create free account
hub / github.com/alibaba/libgrape-lite / GetThreadNum

Method GetThreadNum

grape/utils/thread_pool.h:63–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 auto enqueue(F&& f, Args&&... args)
62 -> std::future<grape::result_of_t<F, Args...>>;
63 inline int GetThreadNum() { return thread_num_; }
64 void WaitEnd(std::vector<std::future<void>>& results);
65 ~ThreadPool();
66

Callers 3

parallel_clearMethod · 0.80
parallel_countMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected