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

Method Run

phxqueue/lock/cleanthread.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
InitMethod · 0.45

Calls

no outgoing calls

Tested by 3

mainFunction · 0.36
mainFunction · 0.36
mainFunction · 0.36