"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "cba5cf6b6b980c42ac2a81ba49f16f8b8f700d58"
[ThreadPool] Do not return shared futures.
The only users of returned futures from ThreadPool is llvm-reduce after D113857. There should be no cases where multiple threads wait on the same future, so there should be no need to return std::shared_future<>. Instead return plain std::future<>. If users need to share a future between multiple threads, they can share the futures themselves. Reviewed By: Meinersbur, mehdi_amini Differential Revision: https://reviews.llvm.org/D114363
Loading
Please register or sign in to comment