MCPcopy Create free account
hub / github.com/Tencent/phxqueue / CleanThread::CleanThreadImpl

Class CleanThread::CleanThreadImpl

phxqueue/lock/cleanthread.cpp:41–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40
41class CleanThread::CleanThreadImpl {
42 public:
43 CleanThreadImpl() {}
44 virtual ~CleanThreadImpl() {}
45
46 Lock *lock{nullptr};
47
48 unique_ptr<thread> t{nullptr};
49 bool stop{true};
50};
51
52
53CleanThread::CleanThread(Lock *const lock) : impl_(new CleanThreadImpl()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected