| 13 | using namespace muduo; |
| 14 | |
| 15 | ThreadPool::ThreadPool(const string& nameArg) |
| 16 | : mutex_(), |
| 17 | notEmpty_(mutex_), |
| 18 | notFull_(mutex_), |
| 19 | name_(nameArg), |
| 20 | maxQueueSize_(0), |
| 21 | running_(false) |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | ThreadPool::~ThreadPool() |
| 26 | { |
nothing calls this directly
no outgoing calls
no test coverage detected