[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
Tue May 2 10:28:19 PDT 2017


scott.smith created this revision.

Many parallel tasks just want to iterate over all the possible numbers from 0 to N-1.  Rather than enqueue N work items, instead just "map" the function across the requested integer space.


Repository:
  rL LLVM

https://reviews.llvm.org/D32757

Files:
  include/lldb/Utility/TaskPool.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  source/Utility/TaskPool.cpp
  unittests/Utility/TaskPoolTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32757.97469.patch
Type: text/x-patch
Size: 5394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170502/58c249d1/attachment.bin>


More information about the lldb-commits mailing list