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

Method InserterThread

be/src/util/blocking-queue-test.cc:124–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 }
123
124 void InserterThread(int arg) {
125 for (int i = 0; i < iterations_; ++i) {
126 queue_.BlockingPut(arg);
127 }
128
129 {
130 lock_guard<mutex> guard(lock_);
131 if (--num_inserters_ == 0) {
132 queue_.Shutdown();
133 }
134 }
135 }
136
137 void RemoverThread() {
138 for (int i = 0; i < iterations_; ++i) {

Callers

nothing calls this directly

Calls 2

BlockingPutMethod · 0.45
ShutdownMethod · 0.45

Tested by

no test coverage detected