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

Method RemoverThread

be/src/kudu/util/blocking_queue-test.cc:303–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 }
302
303 void RemoverThread() {
304 for (int i = 0; i < puts_ + blocking_puts_; i++) {
305 int32_t arg = 0;
306 Status s = queue_.BlockingGet(&arg);
307 if (!s.ok()) {
308 arg = -1;
309 }
310 MutexLock guard(lock_);
311 gotten_[arg] = gotten_[arg] + 1;
312 }
313 }
314
315 void Run() {
316 for (int i = 0; i < nthreads_; i++) {

Callers

nothing calls this directly

Calls 2

BlockingGetMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected