[Lldb-commits] [PATCH] D13662: Make dwarf parsing multi-threaded

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 20 10:21:53 PDT 2015


clayborg added inline comments.

================
Comment at: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:2087-2088
@@ +2086,4 @@
+            results.emplace_back(TaskPool::AddTask(parser_fn, cu_idx));
+        for (auto& f : results)
+            f.wait();
+
----------------
So we are still going to serially wait for the each item in the task list to complete? Don't we want to use TaskRunner::WaitForNextCompletedTask() here?


Repository:
  rL LLVM

http://reviews.llvm.org/D13662





More information about the lldb-commits mailing list