[Lldb-commits] [PATCH] D122975: parallelize calling of Module::PreloadSymbols()

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 9 02:47:08 PDT 2022


labath added a comment.

In D122975#3500176 <https://reviews.llvm.org/D122975#3500176>, @labath wrote:

> or rethink the do-tasks-while-you-wait idea.

I suppose one way to fix this would be to ensure that the waiting thread only picks up its own subtasks while its waiting. That would avoid these deadlocks, and also ensure that the wait is not unnecessarily delayed by a completely unrelated long-running task.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122975/new/

https://reviews.llvm.org/D122975



More information about the lldb-commits mailing list