MCPcopy Create free account
hub / github.com/WallBreaker2/op / getThreadNum

Method getThreadNum

libop/base/ThreadPool.h:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 auto enqueue(F &&f, Args &&...args) -> std::future<std::invoke_result_t<F, Args...>>;
20 ~ThreadPool();
21 size_t getThreadNum() const {
22 return workers.size();
23 }
24
25 private:
26 // need to keep track of threads so we can join them

Callers 2

FindPicThMethod · 0.80
FindPicExThMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected