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

Method Unlock

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

Source from the content-addressed store, hash-verified

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_;

Callers

nothing calls this directly

Calls 1

MarkFinishedMethod · 0.45

Tested by

no test coverage detected