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

Method WaitForCallbacks

be/src/runtime/tmp-file-mgr-test.cc:355–358  ·  view source on GitHub ↗

Wait until 'cb_counter_' reaches 'val'.

Source from the content-addressed store, hash-verified

353
354 /// Wait until 'cb_counter_' reaches 'val'.
355 void WaitForCallbacks(int64_t val) {
356 unique_lock<mutex> lock(cb_cv_lock_);
357 while (cb_counter_ < val) cb_cv_.Wait(lock);
358 }
359
360 /// Implementation of TestScratchLimit.
361 void TestScratchLimit(bool punch_holes, int64_t alloc_size);

Callers

nothing calls this directly

Calls 1

WaitMethod · 0.45

Tested by

no test coverage detected