Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shangyizhou/A-Tiny-Network-Library
/ setThreadSize
Method
setThreadSize
src/base/ThreadPool.h:22–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
21
void setThreadInitCallback(const ThreadFunction& cb) { threadInitCallback_ = cb; }
22
void setThreadSize(const int& num) { threadSize_ = num; }
23
void start();
24
void stop();
25
Callers
1
test1
Function · 0.45
Calls
no outgoing calls
Tested by
1
test1
Function · 0.36