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

Method ProcessAllHandleTasks

phxqueue/consumer/consumer.cpp:398–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398void Consumer::ProcessAllHandleTasks(const int cid) {
399 while (!impl_->handle_buckets[cid].empty()) {
400 int idx = impl_->handle_buckets[cid].front();
401 impl_->handle_buckets[cid].pop();
402
403 HandleRoutineFunc(idx);
404 HandleTaskFinish();
405 }
406}
407
408void Consumer::ProcessAllBatchHandleTasks(const int cid) {
409 if (!impl_->batch_handle_finish[cid]) {

Callers 1

HandleRoutineRunFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected