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

Method PostExecuteTask

cpp/src/arrow/acero/task_util.cc:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218bool TaskSchedulerImpl::PostExecuteTask(size_t thread_id, int group_id) {
219 int64_t total = task_groups_[group_id].num_tasks_present_;
220 int64_t prev_finished = task_groups_[group_id].num_tasks_finished_.value.fetch_add(1);
221 bool all_tasks_finished = (prev_finished + 1 == total);
222 return all_tasks_finished;
223}
224
225Status TaskSchedulerImpl::OnTaskGroupFinished(size_t thread_id, int group_id,
226 bool* all_task_groups_finished) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected