charles-zablit wrote:

> This does look reasonable. I'm wondering why `ProessWindows` doesn't (need 
> to?) do this. Are the threads there already stopped?

I looked into this because I wanted to copy what `ProcessWindows` is doing.
`ProcessWindows` has a `DoUpdateThreadList` method that runs synchronously when 
a debug exception is processed. New threads are pushed to `m_new_threads` first 
and then get processed by `DoUpdateThreadList`.

`NativeProcessWindows` does not have that mechanism because it does not inherit 
from the same class.

https://github.com/llvm/llvm-project/pull/201558
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to