| 51 | } |
| 52 | |
| 53 | void LoadBalanceThread::Run() { |
| 54 | if (!impl_->t) { |
| 55 | impl_->stop = false; |
| 56 | impl_->t = unique_ptr<thread>(new thread(&LoadBalanceThread::DoRun, this)); |
| 57 | } |
| 58 | assert(impl_->t); |
| 59 | } |
| 60 | |
| 61 | void LoadBalanceThread::Stop() { |
| 62 | if (impl_->t) { |
nothing calls this directly
no outgoing calls
no test coverage detected