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

Method AsyncTask

cpp/src/arrow/testing/gtest_util.cc:1152–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1150 }
1151
1152 Future<> AsyncTask() {
1153 std::lock_guard<std::mutex> lk(mx_);
1154 num_launched_++;
1155 num_running_++;
1156 running_cv_.notify_all();
1157 /// TODO(ARROW-13004) Could maybe implement this check with future chains
1158 /// if we check to see if the future has been "consumed" or not
1159 num_finished_++;
1160 return unlocked_future_;
1161 }
1162
1163 void WaitForEndOrUnlocked(std::chrono::time_point<std::chrono::steady_clock> end_time,
1164 arrow::internal::Executor* executor, Future<> future) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected