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

Method InitParallelEngine

grape/parallel/parallel_engine.h:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 virtual ~ParallelEngine() {}
36
37 void InitParallelEngine(
38 const ParallelEngineSpec& spec = DefaultParallelEngineSpec()) {
39 thread_num_ = spec.thread_num;
40 thread_pool_.InitThreadPool(spec);
41 }
42
43 inline ThreadPool& GetThreadPool() { return thread_pool_; }
44

Callers 1

InitParallelEngineFunction · 0.80

Calls 2

InitThreadPoolMethod · 0.80

Tested by

no test coverage detected