| 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) { |
nothing calls this directly
no outgoing calls
no test coverage detected