joemarshall commented on code in PR #35672:
URL: https://github.com/apache/arrow/pull/35672#discussion_r1220906930
##########
cpp/src/arrow/testing/gtest_util.cc:
##########
@@ -1048,16 +1118,32 @@ class GatingTask::Impl : public
std::enable_shared_from_this<GatingTask::Impl> {
" seconds) waiting for the gating task to be
unlocked");
}
num_finished_++;
+#else
+ // can't wait here for anything, so make a future to do the waiting
+ num_running_++;
+ auto future = RunTaskFuture();
+ future.Wait();
Review Comment:
I don't think so, but I can't remember why
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]