bkietz commented on code in PR #39067:
URL: https://github.com/apache/arrow/pull/39067#discussion_r1506054739


##########
cpp/src/arrow/filesystem/filesystem.cc:
##########
@@ -674,6 +684,53 @@ Status CopyFiles(const std::shared_ptr<FileSystem>& 
source_fs,
   return CopyFiles(sources, destinations, io_context, chunk_size, use_threads);
 }
 
+struct Registry {
+  std::shared_mutex mutex;
+  std::unordered_map<std::string, FileSystem::Factory*> scheme_to_factory;
+  std::vector<void (*)()> finalizers;
+  bool finalized = false;
+};

Review Comment:
   Certainly. Since this is a private detail of the registry I was being more 
informal



-- 
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]

Reply via email to