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

Method Run

phxqueue/store/keepsyncthread.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

InitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected