| 14 | using namespace muduo::net; |
| 15 | |
| 16 | EventLoopThread::EventLoopThread(const ThreadInitCallback& cb, |
| 17 | const string& name) |
| 18 | : loop_(NULL), |
| 19 | exiting_(false), |
| 20 | thread_(std::bind(&EventLoopThread::threadFunc, this), name), |
| 21 | mutex_(), |
| 22 | cond_(mutex_), |
| 23 | callback_(cb) |
| 24 | { |
| 25 | } |
| 26 | |
| 27 | EventLoopThread::~EventLoopThread() |
| 28 | { |
nothing calls this directly
no outgoing calls
no test coverage detected