[Lldb-commits] [lldb] [lldb] Print a message when background tasks take a while to complete (PR #82799)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 23 10:18:15 PST 2024


https://github.com/clayborg commented:

Can we not just use a `Progress` object instead of installing a callback? Seems like a very specific use case to install a callback for in our public API. Do we create `Progress` objects for each background download? If we don't, should we? Then this would show up in the command line like "Downloading symbols for ..." and it might communicate to the user what is happening better than "Waiting for background tasks to complete...".

What would happen if we could add an internal API that would cancel all background downloads of symbols?

I am not sure I like installing a specific callback for thread pool issues. What if a thread gets deadlocked waiting for data and it never completes the download?

https://github.com/llvm/llvm-project/pull/82799


More information about the lldb-commits mailing list