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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to