westonpace commented on a change in pull request #11285:
URL: https://github.com/apache/arrow/pull/11285#discussion_r723663091
##########
File path: cpp/src/arrow/util/thread_pool.h
##########
@@ -341,6 +341,9 @@ class ARROW_EXPORT ThreadPool : public Executor {
// tasks are finished.
Status Shutdown(bool wait = true);
+
+ void WaitForIdle();
Review comment:
Yes, I will document that. ThreadPool is internal (and I'm not
proposing we add WaitForIdle to Executor) so I hope that is reasonable. CC
@pitrou for thoughts. For context: I added `WaitForIdle` to the `ThreadPool`
purely for the sake of sequencing some testing.
--
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]