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

Method HandleTaskFinish

phxqueue/consumer/consumer.cpp:286–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void Consumer::HandleTaskFinish() {
287 ++impl_->nhandle_task_finished;
288 if (impl_->nhandle_task_finished == impl_->items.size() && impl_->nbatch_handle_task_finished == impl_->opt.nbatch_handler) co_cond_signal(impl_->cond);
289}
290
291void Consumer::BatchHandleTaskFinish() {
292 ++impl_->nbatch_handle_task_finished;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected