Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
61
void 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
69
void CleanThread::Stop() {
70
if (impl_->t) {
Callers
4
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Init
Method · 0.45
Calls
no outgoing calls
Tested by
3
main
Function · 0.36
main
Function · 0.36
main
Function · 0.36