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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to