MCPcopy Create free account
hub / github.com/alibaba/zvec / ~ThreadQueue

Method ~ThreadQueue

src/include/zvec/ailego/parallel/thread_queue.h:173–179  ·  view source on GitHub ↗

Destructor

Source from the content-addressed store, hash-verified

171
172 //! Destructor
173 ~ThreadQueue() {
174 this->stop();
175 // Cleanup threads
176 for (auto it = threads_.begin(); it != threads_.end(); ++it) {
177 delete *it;
178 }
179 }
180
181 //! operator []
182 ThreadWorker &operator[](size_t i) {

Callers

nothing calls this directly

Calls 3

stopMethod · 0.95
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected