westonpace commented on a change in pull request #9842:
URL: https://github.com/apache/arrow/pull/9842#discussion_r608204382
##########
File path: cpp/src/arrow/filesystem/s3fs.cc
##########
@@ -1142,82 +1145,67 @@ struct TreeWalker : public
std::enable_shared_from_this<TreeWalker> {
recursion_handler_(std::move(recursion_handler)) {}
private:
- std::mutex mutex_;
- Future<> future_;
- std::atomic<int32_t> num_in_flight_;
+ std::shared_ptr<TaskGroup> task_group_;
+ util::Mutex mutex_;
Review comment:
Nope. For some reason I thought the old implementation was using it.
I've switched it back to std::mutex.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]