| 83 | } |
| 84 | |
| 85 | std::vector<EventLoop*> EventLoopThreadPool::getAllLoops() |
| 86 | { |
| 87 | baseLoop_->assertInLoopThread(); |
| 88 | assert(started_); |
| 89 | if (loops_.empty()) |
| 90 | { |
| 91 | return std::vector<EventLoop*>(1, baseLoop_); |
| 92 | } |
| 93 | else |
| 94 | { |
| 95 | return loops_; |
| 96 | } |
| 97 | } |
nothing calls this directly
no test coverage detected