[Lldb-commits] [PATCH] D32757: Add TaskMap for iterating a function over a set of integers

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue May 2 11:36:46 PDT 2017


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





More information about the lldb-commits mailing list