| 1250 | } |
| 1251 | |
| 1252 | Status Unlock() { |
| 1253 | { |
| 1254 | std::lock_guard<std::mutex> lk(mx_); |
| 1255 | unlocked_ = true; |
| 1256 | unlocked_cv_.notify_all(); |
| 1257 | } |
| 1258 | unlocked_future_.MarkFinished(); |
| 1259 | #ifndef ARROW_ENABLE_THREADING |
| 1260 | while (num_finished_ != num_running_) { |
| 1261 | arrow::internal::SerialExecutor::RunTasksOnAllExecutors(); |
| 1262 | } |
| 1263 | #endif |
| 1264 | |
| 1265 | return status_; |
| 1266 | } |
| 1267 | |
| 1268 | private: |
| 1269 | double timeout_seconds_; |
nothing calls this directly
no test coverage detected