MCPcopy Create free account
hub / github.com/chenshuo/muduo / setThreadNum

Method setThreadNum

muduo/net/EventLoopThreadPool.h:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 EventLoopThreadPool(EventLoop* baseLoop, const string& nameArg);
36 ~EventLoopThreadPool();
37 void setThreadNum(int numThreads) { numThreads_ = numThreads; }
38 void start(const ThreadInitCallback& cb = ThreadInitCallback());
39
40 // valid after calling start()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected