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

Method Stop

phxqueue/producer/batchhelper.cpp:246–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void BatchHelper::Stop() {
247 impl_->stop = true;
248 for (auto &&t : impl_->daemon_threads) {
249 t->join();
250 t.release();
251 }
252}
253
254static int DispatchTickRun(void *arg) {
255 DispatchCtx_t *ctx = static_cast<DispatchCtx_t*>(arg);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected