[PATCH] D15464: Add a C++11 ThreadPool implementation in LLVM
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 2 19:22:55 PST 2016
joker.eph added a comment.
There is no inclusion of `<thread>` when threading is disabled right now. However `#include <future>` is necessary even without threading.
If some toolchains can't provide `std::future` and `std::async` (with `std::launch::deferred`) then someone needs to provide a patch to implement a `include/llvm/Support/future.h` on the model of `include/llvm/Support/future.h`. I'll be happy to review.
More information about the llvm-commits