| 59 | } |
| 60 | |
| 61 | void KeepMasterThread::Run() { |
| 62 | if (!impl_->t) { |
| 63 | impl_->stop = false; |
| 64 | impl_->t = unique_ptr<thread>(new thread(&KeepMasterThread::DoRun, this)); |
| 65 | } |
| 66 | assert(impl_->t); |
| 67 | } |
| 68 | |
| 69 | void KeepMasterThread::Stop() { |
| 70 | if (impl_->t) { |
nothing calls this directly
no outgoing calls
no test coverage detected