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

Method RegisterTaskGroup

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

Source from the content-addressed store, hash-verified

112}
113
114int TaskSchedulerImpl::RegisterTaskGroup(TaskImpl task_impl,
115 TaskGroupContinuationImpl cont_impl) {
116 int result = static_cast<int>(task_groups_.size());
117 task_groups_.emplace_back(std::move(task_impl), std::move(cont_impl));
118 return result;
119}
120
121void TaskSchedulerImpl::RegisterEnd() {
122 std::lock_guard<std::mutex> lock(mutex_);

Callers 6

JoinBenchmarkMethod · 0.45
TESTFunction · 0.45
InitMethod · 0.45
InitMethod · 0.45

Calls 2

emplace_backMethod · 0.80
sizeMethod · 0.45

Tested by 2

TESTFunction · 0.36