MCPcopy Create free account
hub / github.com/Shangyizhou/A-Tiny-Network-Library / setThreadInitCallback

Method setThreadInitCallback

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

Source from the content-addressed store, hash-verified

19 ~ThreadPool();
20
21 void setThreadInitCallback(const ThreadFunction& cb) { threadInitCallback_ = cb; }
22 void setThreadSize(const int& num) { threadSize_ = num; }
23 void start();
24 void stop();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected