| 115 | } |
| 116 | |
| 117 | void EventLoop::UpdateChannel(ChannelPtr channel) |
| 118 | { |
| 119 | std::lock_guard<std::mutex> locker(mutex_); |
| 120 | if (task_schedulers_.size() > 0) { |
| 121 | task_schedulers_[0]->UpdateChannel(channel); |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | void EventLoop::RemoveChannel(ChannelPtr& channel) |
| 126 | { |
no outgoing calls
no test coverage detected