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

Method Run

phxqueue/scheduler/keepmasterthread.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void KeepMasterThread::Run() {
55 if (!impl_->t) {
56 impl_->stop = false;
57 impl_->t = unique_ptr<thread>(new thread(&KeepMasterThread::DoRun, this));
58 }
59 assert(impl_->t);
60}
61
62void KeepMasterThread::Stop() {
63 if (impl_->t) {

Callers 1

InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected