MCPcopy Create free account
hub / github.com/apache/arrow / FinishAsync

Method FinishAsync

cpp/src/arrow/util/task_group.cc:153–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152
153 Future<> FinishAsync() override {
154 std::lock_guard<std::mutex> lock(mutex_);
155 if (!completion_future_.has_value()) {
156 if (nremaining_.load() == 0) {
157 completion_future_ = Future<>::MakeFinished(status_);
158 } else {
159 completion_future_ = Future<>::Make();
160 }
161 }
162 return *completion_future_;
163 }
164
165 int parallelism() override { return executor_->GetCapacity(); }
166

Callers

nothing calls this directly

Calls 2

MakeFunction · 0.70
loadMethod · 0.45

Tested by

no test coverage detected