MCPcopy Create free account
hub / github.com/apache/impala / ConsumerThread

Function ConsumerThread

be/src/kudu/rpc/service_queue-test.cc:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90template <typename Queue>
91void ConsumerThread(Queue* queue) {
92 unique_ptr<InboundCall> call;
93 while (queue->BlockingGet(&call)) {
94 inprogress--;
95 total++;
96 call.reset();
97 }
98}
99
100TEST(TestServiceQueue, LifoServiceQueuePerf) {
101 LifoServiceQueue queue(FLAGS_max_queue_size);

Callers

nothing calls this directly

Calls 2

resetMethod · 0.65
BlockingGetMethod · 0.45

Tested by

no test coverage detected