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

Method Stop

phxqueue/lock/cleanthread.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void CleanThread::Stop() {
70 if (impl_->t) {
71 impl_->stop = true;
72 impl_->t->join();
73 impl_->t.release();
74 }
75}
76
77void CleanThread::DoRun() {
78 if (nullptr == impl_->lock || nullptr == impl_->lock->GetNode()) {

Callers 1

DisposeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected