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

Method setMaxQueueSize

muduo/base/ThreadPool.h:29–29  ·  view source on GitHub ↗

Must be called before start().

Source from the content-addressed store, hash-verified

27
28 // Must be called before start().
29 void setMaxQueueSize(int maxSize) { maxQueueSize_ = maxSize; }
30 void setThreadInitCallback(const Task& cb)
31 { threadInitCallback_ = cb; }
32

Callers 2

testFunction · 0.80
test2Function · 0.80

Calls

no outgoing calls

Tested by 2

testFunction · 0.64
test2Function · 0.64