MCPcopy Create free account
hub / github.com/Tencent/phxqueue / Run

Method Run

phxqueue/store/keepmasterthread.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void KeepMasterThread::Run() {
61 if (!impl_->t) {
62 impl_->stop = false;
63 impl_->t = unique_ptr<thread>(new thread(&KeepMasterThread::DoRun, this));
64 }
65 assert(impl_->t);
66}
67
68void KeepMasterThread::Stop() {
69 if (impl_->t) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected