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

Method ThreadPool

muduo/base/ThreadPool.cc:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13using namespace muduo;
14
15ThreadPool::ThreadPool(const string& nameArg)
16 : mutex_(),
17 notEmpty_(mutex_),
18 notFull_(mutex_),
19 name_(nameArg),
20 maxQueueSize_(0),
21 running_(false)
22{
23}
24
25ThreadPool::~ThreadPool()
26{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected