[Support] Use unique_function rather than std::function for ThreadPool TaskTy.
This will allow non-copyable function objects (e.g. lambdas that capture unique_ptrs) to be used with ThreadPool. Differential Revision: https://reviews.llvm.org/D87467
Loading
Please sign in to comment