MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / start

Method start

practice/threadpool.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 Thread(PFUNC pfunc, int id) : _pfunc(pfunc), _no(id) {}
13
14 thread start() {
15 thread t(_pfunc, _no);
16 return t;
17 }
18
19private:
20 PFUNC _pfunc;

Callers 1

startPoolMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected