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

Method DequeueLoop

be/src/scheduling/admission-controller.cc:2672–2682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2670}
2671
2672void AdmissionController::DequeueLoop() {
2673 unique_lock<mutex> lock(admission_ctrl_lock_);
2674 while (true) {
2675 if (done_) break;
2676 while (!pending_dequeue_) {
2677 dequeue_cv_.Wait(lock);
2678 }
2679 pending_dequeue_ = false;
2680 TryDequeue();
2681 }
2682}
2683
2684void AdmissionController::TryDequeue() {
2685 ClusterMembershipMgr::SnapshotPtr membership_snapshot =

Callers

nothing calls this directly

Calls 1

WaitMethod · 0.45

Tested by

no test coverage detected