[Lldb-commits] [PATCH] D32757: Add TaskMap for iterating a function over a set of integers
Scott Smith via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu May 4 17:54:22 PDT 2017
scott.smith added a comment.
In https://reviews.llvm.org/D32757#743793, @zturner wrote:
> Not to sound like a broken record, but please try to put this in LLVM instead of LLVM. I suggested a convenient function signature earlier.
@zturner ok to commit? TaskMapOverInt(x, y, fn) maps directly to parallel_for(0, x, fn). Rather than rebundle the change you have for lldb, only for it to be deleted once you get it into llvm, can we just commit this as a stopgap?
It is a step in the right direction as it removes TaskRunner and puts us on an API more likely to end up in LLVM.
More information about the lldb-commits