zturner requested changes to this revision. zturner added a comment. I would suggest putting this in LLVM, as something liek this:
namespace llvm {
template<typename Range, typename Func>
void parallel_apply(Range &&R, Func &&F) {
// enqueue items here.
// wait for all tasks to complete.
}
}
Repository:
rL LLVM
https://reviews.llvm.org/D32757
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
