MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / init

Method init

src/ThreadPool.h:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 };
39
40 static void init(unsigned int max_threads, unsigned int flags = 0) {
41 assert(instance == NULL);
42 instance = new ThreadPoolManager(max_threads, flags);
43 }
44
45 static ThreadPoolManager* getInstance() {
46 return instance;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected